diff --git a/src/pages/profile/index.tsx b/src/pages/profile/index.tsx index 5c64bd8..7a44968 100644 --- a/src/pages/profile/index.tsx +++ b/src/pages/profile/index.tsx @@ -66,7 +66,7 @@ const Profile = () => { } else { console.error("Track ID is missing or invalid."); } - }, []); + }, [mutation,query]); const { data, isLoading, isFetching, error } = useQuery({ queryKey: ["profile", mutation],