search working and showing results but of course not working in terms of the friend requesting

This commit is contained in:
talksik
2022-03-18 13:24:12 -04:00
parent 1ff61bf91d
commit 0a126900b9
6 changed files with 94 additions and 19 deletions
@@ -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 (