Skip to content

Commit

Permalink
🐛 Try
Browse files Browse the repository at this point in the history
  • Loading branch information
damianpumar committed Dec 18, 2024
1 parent 3643cf3 commit a4686ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions argilla-frontend/pages/oauth/_provider/useOAuthViewModel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useFetch, useRoute } from "@nuxtjs/composition-api";
import { onBeforeMount, useRoute } from "@nuxtjs/composition-api";
import { useResolve } from "ts-injecty";
import { ProviderType } from "~/v1/domain/entities/oauth/OAuthProvider";
import { OAuthLoginUseCase } from "~/v1/domain/usecases/oauth-login-use-case";
Expand All @@ -17,7 +17,7 @@ export const useOAuthViewModel = () => {
const oauthLoginUseCase = useResolve(OAuthLoginUseCase);
const { pop } = useLocalStorage();

useFetch(async () => {
onBeforeMount(async () => {
await tryLogin();
});

Expand Down

0 comments on commit a4686ee

Please sign in to comment.