Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
fix: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Oct 3, 2024
1 parent 3130492 commit 27b2b3c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,12 @@
"prettier:write": "prettier --write {src,cypress}/**/*.{js,ts,tsx}",
"type-check": "tsc --noEmit",
"check": "yarn prettier:check && yarn lint && yarn type-check",
"hooks:uninstall": "husky uninstall",
"hooks:install": "husky install",
"hooks:install": "husky",
"cypress:open": "env-cmd -f ./.env.test cypress open",
"cypress": "yarn build:test && concurrently -k -s first \"yarn preview:test\" \"yarn cypress:run\"",
"test": "yarn cypress",
"cypress:run": "env-cmd -f ./.env.test cypress run --headless --browser chrome",
"postinstall": "husky install"
"postinstall": "husky"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
6 changes: 3 additions & 3 deletions src/components/SignUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,20 @@ const SignUp = () => {

const {
mutateAsync: signUp,
isLoading: isLoadingSignUp,
isPending: isLoadingSignUp,
error: webRegisterError,
} = mutations.useSignUp();
const {
mutateAsync: mobileSignUp,
isLoading: isLoadingMobileSignUp,
isPending: isLoadingMobileSignUp,
error: mobileRegisterError,
} = mutations.useMobileSignUp();
const [searchParams] = useSearchParams();

const {
data: invitation,
isSuccess: isInvitationSuccess,
isInitialLoading: isLoadingInvitations,
isLoading: isLoadingInvitations,
} = hooks.useInvitation(searchParams.get('invitationId') || undefined);

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const RequestPasswordReset = () => {
mutate: requestPasswordReset,
isError,
isSuccess,
isLoading,
isPending: isLoading,
} = useCreatePasswordResetRequest();

const resetPassword = async ({ email }: Inputs) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/requestPasswordReset/ResetPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const ResetPassword = () => {

const {
mutate: resolveRequestPasswordReset,
isLoading,
isPending: isLoading,
isError,
isSuccess,
} = useResolvePasswordResetRequest();
Expand Down
4 changes: 2 additions & 2 deletions src/components/signIn/MagicLinkForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ const MagicLinkForm = () => {

const {
mutateAsync: signIn,
isLoading: isLoadingSignIn,
isPending: isLoadingSignIn,
error: webSignInError,
} = mutations.useSignIn();
const {
mutateAsync: mobileSignIn,
isLoading: isLoadingMobileSignIn,
isPending: isLoadingMobileSignIn,
error: mobileSignInError,
} = mutations.useMobileSignIn();

Expand Down
4 changes: 2 additions & 2 deletions src/components/signIn/PasswordForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ const SignInPasswordForm = () => {
const {
mutateAsync: signInWithPassword,
isSuccess: signInWithPasswordSuccess,
isLoading: isLoadingPasswordSignIn,
isPending: isLoadingPasswordSignIn,
error: webPasswordSignInError,
} = mutations.useSignInWithPassword();
const {
mutateAsync: mobileSignInWithPassword,
isSuccess: mobileSignInWithPasswordSuccess,
isLoading: isLoadingMobilePasswordSignIn,
isPending: isLoadingMobilePasswordSignIn,
error: mobilePasswordSignInError,
} = mutations.useMobileSignInWithPassword();

Expand Down

0 comments on commit 27b2b3c

Please sign in to comment.