Commit d7b42cae by Arjun Jhukal

reset to game credentails

parent 68fe98ba
...@@ -43,14 +43,14 @@ function CredentialsCardShimmer() { ...@@ -43,14 +43,14 @@ function CredentialsCardShimmer() {
} }
export default function GameCredentialsPage() { export default function GameCredentialsPage() {
const token = useAppSelector((state) => state.auth.access_token); // const token = useAppSelector((state) => state.auth.access_token);
const { data: creds, isLoading: loadingCreds } = // const { data: creds, isLoading: loadingCreds } =
useGetUserGameCredentialsQuery(undefined, { // useGetUserGameCredentialsQuery(undefined, {
skip: !token // skip: !token
}); // });
// const { data: creds, isLoading: loadingCreds } = useGetUserGameCredentialsQuery(); const { data: creds, isLoading: loadingCreds } = useGetUserGameCredentialsQuery();
return ( return (
<section className="credentials__listing "> <section className="credentials__listing ">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment