Skip to content

Commit

Permalink
Merge pull request #72 from Jacksonmills/fix/clearing-messages-on-ref…
Browse files Browse the repository at this point in the history
…ocus

fix: preserve chat history on client refocus
  • Loading branch information
adamcohenhillel authored Feb 26, 2024
2 parents 0457da3 + eb1ca5d commit 0f66d6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/src/components/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export default function Chat({
}
return data;
} else {
setMessages([]);
const { data, error } = await supabaseClient
.from('conversations')
.select('*')
Expand Down

0 comments on commit 0f66d6e

Please sign in to comment.