Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesNg35 committed Mar 8, 2024
1 parent 624c3e1 commit dbc5fa1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/web/app/hooks/auth/useAuthenticationPasscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ export function useAuthenticationPasscode() {
const { queryCall: signInEmailQueryCall, loading: signInEmailLoading } = useQuery(signInEmailAPI);
const { queryCall: signInEmailConfirmQueryCall, loading: signInEmailConfirmLoading } =
useQuery(signInEmailConfirmAPI);
const { queryCall: signInWorkspaceQueryCall, loading: signInWorkspaceLoading } = useQuery(signInWorkspaceAPI);
const {
queryCall: signInWorkspaceQueryCall,
loading: signInWorkspaceLoading,
infiniteLoading: infiniteWLoading
} = useQuery(signInWorkspaceAPI);

const { queryCall, loading, infiniteLoading } = useQuery(signInWithEmailAndCodeAPI);

Expand Down Expand Up @@ -219,7 +223,7 @@ export function useAuthenticationPasscode() {
return;
}

infiniteLoading.current = true;
infiniteWLoading.current = true;

signInToWorkspaceRequest({
email: formValues.email,
Expand Down

0 comments on commit dbc5fa1

Please sign in to comment.