Skip to content

Commit

Permalink
do not prevent thread revalidation, fixes #941
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwmerritt committed Apr 27, 2024
1 parent 5102fae commit f134294
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions frontend/src/pages/Thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ export default function ThreadPage() {

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

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

0 comments on commit f134294

Please sign in to comment.