We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4965e commit 83aae31Copy full SHA for 83aae31
package/src/components/ImageGallery/ImageGallery.tsx
@@ -293,7 +293,8 @@ export const ImageGallery = <
293
const [selectedIndex, setSelectedIndex] = useState(photoSelectedIndex);
294
const index = useSharedValue(photoSelectedIndex);
295
296
- const [imageGalleryAttachments, setImageGalleryAttachments] = useState<Photo<StreamChatGenerics>[]>(photos);
+ const [imageGalleryAttachments, setImageGalleryAttachments] =
297
+ useState<Photo<StreamChatGenerics>[]>(photos);
298
299
/**
300
* Photos length needs to be kept as a const here so if the length
0 commit comments