Skip to content

Commit

Permalink
fix: isMessageAIGenerated type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
isekovanic committed Dec 17, 2024
1 parent 842e570 commit 6469f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/SampleApp/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const DrawerNavigatorWrapper: React.FC<{
enableOfflineSupport
// @ts-expect-error
ImageComponent={FastImage}
isMessageAIGenerated={(message: MessageType) => message.ai_generated}
isMessageAIGenerated={(message: MessageType) => !!message.ai_generated}
>
<AppOverlayProvider>
<UserSearchProvider>
Expand Down

0 comments on commit 6469f4b

Please sign in to comment.