search working and showing results but of course not working in terms of the friend requesting
This commit is contained in:
@@ -8,7 +8,8 @@ export default function ProtectedRoute({
|
||||
}: {
|
||||
children?: React.ReactNode;
|
||||
}) {
|
||||
const { isLoading, isError, refetch } = useGetUserDetails();
|
||||
const { data, isLoading, isError, refetch } = useGetUserDetails();
|
||||
console.log(data);
|
||||
|
||||
if (isLoading)
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user