Skip to content

Commit

Permalink
revert: dont remove revalidateOnFocus
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwmerritt committed Apr 29, 2024
1 parent 80b7061 commit 7a9af61
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/pages/Thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ export default function ThreadPage() {

const { data, error, isLoading } = useApi<IThread>(
apiClient,
id ? `/project/thread/${id}` : null
id ? `/project/thread/${id}` : null,
{
revalidateOnFocus: false
}
);

const [threadHistory, setThreadHistory] = useRecoilState(threadHistoryState);
Expand Down

0 comments on commit 7a9af61

Please sign in to comment.