Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

Commit

Permalink
fix yarn build
Browse files Browse the repository at this point in the history
  • Loading branch information
kymppi committed Mar 24, 2022
1 parent 3b8fa00 commit 1976d9a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion data/authentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const submitChallenge = async (
challenge?: Challenge;
user?: IUser;
};
errors?: readonly GraphQLError[];
errors?: readonly unknown[];
loading: boolean;
}> => {
const challengeInput: Challenge = {
Expand Down Expand Up @@ -125,5 +125,10 @@ export const submitChallenge = async (
};
} catch (error) {
console.log('auth', error);

return {
errors: [error],
loading: false,
};
}
};

0 comments on commit 1976d9a

Please sign in to comment.