Skip to content

Commit

Permalink
fix(SampleApp): update references to renamed functions from image gal…
Browse files Browse the repository at this point in the history
…lery context (GetStream#1780)
  • Loading branch information
madsroskar authored Nov 2, 2022
1 parent 316ce99 commit 11bbe74
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/SampleApp/src/screens/ChannelImagesScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ export const ChannelImagesScreen: React.FC<ChannelImagesScreenProps> = ({
params: { channel },
},
}) => {
const { images, setImage, setImages } = useImageGalleryContext<StreamChatGenerics>();
const {
messages: images,
setMessages: setImages,
setSelectedMessage: setImage,
} = useImageGalleryContext<StreamChatGenerics>();
const { setOverlay } = useOverlayContext();
const { loading, loadMore, messages } = usePaginatedAttachments(channel, 'image');
const {
Expand Down

0 comments on commit 11bbe74

Please sign in to comment.