Skip to content

Commit 3f33c56

Browse files
committed
fix: upgrade bottom sheet to get rid of warnings
1 parent ca4590a commit 3f33c56

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
]
6767
},
6868
"dependencies": {
69-
"@gorhom/bottom-sheet": "^4.6.4",
69+
"@gorhom/bottom-sheet": "^5.0.6",
7070
"dayjs": "1.10.5",
7171
"emoji-regex": "^10.3.0",
7272
"i18next": "^21.6.14",

package/src/components/AttachmentPicker/AttachmentPicker.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ export const AttachmentPicker = React.forwardRef(
269269
*/
270270
photoError ? null : AttachmentPickerBottomSheetHandle
271271
}
272+
// @ts-ignore
272273
handleHeight={handleHeight}
273274
index={-1}
274275
onChange={setCurrentIndex}

package/src/components/ImageGallery/ImageGallery.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ export const ImageGallery = <
610610
{...imageGalleryCustomComponents?.gridHandle}
611611
/>
612612
)}
613+
// @ts-ignore
613614
handleHeight={imageGalleryGridHandleHeight}
614615
index={0}
615616
onChange={(index: number) => setCurrentBottomSheetIndex(index)}

package/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,10 +2126,10 @@
21262126
minimatch "^3.0.4"
21272127
strip-json-comments "^3.1.1"
21282128

2129-
"@gorhom/bottom-sheet@^4.6.4":
2130-
version "4.6.4"
2131-
resolved "https://registry.yarnpkg.com/@gorhom/bottom-sheet/-/bottom-sheet-4.6.4.tgz#387d0f0f21e3470eb8575498cb81ce96f5108e79"
2132-
integrity sha512-0itLMblLBvepE065w3a60S030c2rNUsGshPC7wbWDm31VyqoaU2xjzh/ojH62YIJOcobBr5QoC30IxBBKDGovQ==
2129+
"@gorhom/bottom-sheet@^5.0.6":
2130+
version "5.0.6"
2131+
resolved "https://registry.yarnpkg.com/@gorhom/bottom-sheet/-/bottom-sheet-5.0.6.tgz#f20736502399c7bcf8c73ea09e6b571dc07fe0eb"
2132+
integrity sha512-SI/AhPvgRfnCWN6/+wbE6TXwRE4X8F2fLyE4L/0bRwgE34Zenq585qLT139uEcfCIyovC2swC3ICqQpkmWEcFA==
21332133
dependencies:
21342134
"@gorhom/portal" "1.0.14"
21352135
invariant "^2.2.4"

0 commit comments

Comments
 (0)