Add missed ;
This commit is contained in:
@@ -70,10 +70,11 @@ const Profile = () => {
|
||||
|
||||
const {data,isLoading,isFetching,error} = useQuery({
|
||||
queryKey:["profile",mutation],
|
||||
queryFn:()=>{
|
||||
queryFn: () => {
|
||||
return axios.get('/profile');
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
{!mutation.isPending && (
|
||||
|
||||
Reference in New Issue
Block a user