Skip to content

Commit 998dbf0

Browse files
authored
Merge pull request #11436 from kodadot/fix--adjust-some-props
fix: adjust some props
2 parents e596b91 + 448a9cb commit 998dbf0

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

components/chart/PriceChart.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ ChartJS.register(
130130
const props = defineProps<{
131131
priceChartData?: [Date, number][][]
132132
chartHeight?: string
133-
hideOutliers: boolean
134-
applySmoothing: boolean
133+
hideOutliers?: boolean
134+
applySmoothing?: boolean
135135
}>()
136136
const emit = defineEmits(['update:hideOutliers', 'update:applySmoothing'])
137137

components/common/ShareDropdown.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ import QRCode from '@/components/shared/QRCode.vue'
6161
6262
const props = withDefaults(
6363
defineProps<{
64-
noShadow: boolean
65-
mobileModal: boolean
64+
noShadow?: boolean
65+
mobileModal?: boolean
6666
link?: string
6767
sharingContent?: string
6868
}>(),

components/gallery/GalleryItemButton/GalleryItemButton.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<template>
22
<div class="buttons content-start gallery-button">
33
<div data-testid="gallery-item-share-button">
4-
<ShareDropdown :sharing-content="customSharingContent" />
4+
<ShareDropdown
5+
:sharing-content="customSharingContent"
6+
/>
57
</div>
68

79
<GalleryItemMoreActionBtn

components/identity/module/IdentityPopover.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import IdentityPopoverFooter from './IdentityPopoverFooter.vue'
2929
3030
const props = withDefaults(
3131
defineProps<{
32-
showPopover: boolean
32+
showPopover?: boolean
3333
}>(),
3434
{
3535
showPopover: true,

components/shared/Loader.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import placeholder from '~/assets/svg/preloader.svg?url'
5151
const emit = defineEmits(['update:modelValue'])
5252
const props = withDefaults(
5353
defineProps<{
54-
status: TransactionStatus
54+
status?: TransactionStatus
5555
modelValue?: boolean
5656
canCancel?: boolean
5757
}>(),

0 commit comments

Comments
 (0)