diff --git a/src/components/AppBar/Profile.tsx b/src/components/AppBar/Profile.tsx index c045107..c14d318 100644 --- a/src/components/AppBar/Profile.tsx +++ b/src/components/AppBar/Profile.tsx @@ -35,7 +35,9 @@ const Profile: React.FC = ({ avatarImageSrc, profileName }) => { const params = new URLSearchParams(searchParams.toString()) params.set("lang", lang) router.replace(`${pathname}?${params.toString()}`); - window.location.reload(); + setTimeout(() => { + window.location.reload(); + }, 80); }, [router, pathname, searchParams]); return (