From 188e806427ff6c9b302d994fc9c84a0300526688 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Mon, 9 Sep 2024 20:10:16 +0300 Subject: refactor: make names clickable throughout the site, fix user pages --- frontend/src/pages/User.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/pages/User.tsx') diff --git a/frontend/src/pages/User.tsx b/frontend/src/pages/User.tsx index 1f6d8d0..1605ada 100644 --- a/frontend/src/pages/User.tsx +++ b/frontend/src/pages/User.tsx @@ -79,7 +79,7 @@ const User: React.FC = () => { React.useEffect(() => { _fetch_user(); - }, []); + }, [user]); React.useEffect(() => { if (game !== "0") { -- cgit v1.2.3