From 6b422ca290d1f4dc5c32c0f291d00629cad2079d Mon Sep 17 00:00:00 2001 From: Wanjohi <71614375+wanjohiryan@users.noreply.github.com> Date: Tue, 17 Sep 2024 22:00:55 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Remove=20unused=20vars?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/www/src/routes/(onboarding)/new/index.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/www/src/routes/(onboarding)/new/index.tsx b/apps/www/src/routes/(onboarding)/new/index.tsx index 867df30c..98b6ed00 100644 --- a/apps/www/src/routes/(onboarding)/new/index.tsx +++ b/apps/www/src/routes/(onboarding)/new/index.tsx @@ -1,13 +1,13 @@ -import { auth } from "@nestri/ui"; +// import { auth } from "@nestri/ui"; import { Button } from "@nestri/ui/react" import { buttonVariants } from "@nestri/ui/design"; // import { type Provider } from "@supabase/supabase-js"; -import { Link, useLocation } from "@builder.io/qwik-city"; +import { Link } from "@builder.io/qwik-city"; import { $, component$, useSignal } from "@builder.io/qwik"; -type AuthFlowProps = { - flow: string -} +// type AuthFlowProps = { +// flow: string +// } const flow: any = "join" @@ -16,7 +16,7 @@ export default component$(() => { const isGHLoading = useSignal(false); const setIsLoading = $((v: boolean) => isLoading.value = v) const setIsGHLoading = $((v: boolean) => isGHLoading.value = v) - const location = useLocation(); + // const location = useLocation(); // const authenticateUser = $(async (provider: any) => { // await auth.openWindow(`${location.url.origin}/api/auth/${provider}`)