Skip to content

Commit

Permalink
Added downloadedModels as dependecies useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Nov 13, 2023
1 parent 2dc0b0b commit bad29b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/screens/Chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const ChatScreen = () => {
downloadedModels.filter((x) => x.name === currentConvo?.name).length === 0
)
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [currentConvo])
}, [currentConvo, downloadedModels])

const handleSendMessage = async () => {
if (activeConversationId) {
Expand Down

0 comments on commit bad29b8

Please sign in to comment.