Refactor: Remove unnecessary dependency in Profile component

This commit is contained in:
ALi Josheghani
2024-09-16 12:43:04 +03:30
parent 4b2b6aa2d9
commit 9e774a2d6f

View File

@@ -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],