Skip to content

Commit

Permalink
Fixing the constant data update
Browse files Browse the repository at this point in the history
  • Loading branch information
AxeRicin committed Dec 14, 2023
1 parent c82f0e9 commit e1b74a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/page/ChatPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ChatPage = () => {
setIsLoaded(true);
};
fetchData();
});
}, []);
if (!isLoaded) return (<Loader />);
return (
<>
Expand Down

0 comments on commit e1b74a4

Please sign in to comment.