Skip to content

Commit

Permalink
fix: make suggested actions reappear on new chat (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyphilemon authored Dec 20, 2024
1 parent f3e2aea commit 8b99b9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/multimodal-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ export const MultimodalInput = memo(
if (prevProps.input !== nextProps.input) return false;
if (prevProps.isLoading !== nextProps.isLoading) return false;
if (!equal(prevProps.attachments, nextProps.attachments)) return false;
if (prevProps.messages.length !== nextProps.messages.length) return false;

return true;
},
Expand Down

0 comments on commit 8b99b9a

Please sign in to comment.