Skip to content

Commit

Permalink
Fix issue with setting chat ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 committed Dec 7, 2023
1 parent a15858b commit 65a3577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/(main)/project/[project_id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export default function Chat(params: { params: { project_id: string } }) {
{
retry: false,
onSuccess: async (data, vars) => {
if (!data) return;
setChatID(data.external_id);
await queryClient.invalidateQueries(["chats"]);
setIsTyping(false);
Expand Down

0 comments on commit 65a3577

Please sign in to comment.