mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 08:15:38 +02:00
🐛 fix: Remove unused vars
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
import { auth } from "@nestri/ui";
|
// import { auth } from "@nestri/ui";
|
||||||
import { Button } from "@nestri/ui/react"
|
import { Button } from "@nestri/ui/react"
|
||||||
import { buttonVariants } from "@nestri/ui/design";
|
import { buttonVariants } from "@nestri/ui/design";
|
||||||
// import { type Provider } from "@supabase/supabase-js";
|
// 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";
|
import { $, component$, useSignal } from "@builder.io/qwik";
|
||||||
|
|
||||||
type AuthFlowProps = {
|
// type AuthFlowProps = {
|
||||||
flow: string
|
// flow: string
|
||||||
}
|
// }
|
||||||
|
|
||||||
const flow: any = "join"
|
const flow: any = "join"
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ export default component$(() => {
|
|||||||
const isGHLoading = useSignal(false);
|
const isGHLoading = useSignal(false);
|
||||||
const setIsLoading = $((v: boolean) => isLoading.value = v)
|
const setIsLoading = $((v: boolean) => isLoading.value = v)
|
||||||
const setIsGHLoading = $((v: boolean) => isGHLoading.value = v)
|
const setIsGHLoading = $((v: boolean) => isGHLoading.value = v)
|
||||||
const location = useLocation();
|
// const location = useLocation();
|
||||||
|
|
||||||
// const authenticateUser = $(async (provider: any) => {
|
// const authenticateUser = $(async (provider: any) => {
|
||||||
// await auth.openWindow(`${location.url.origin}/api/auth/${provider}`)
|
// await auth.openWindow(`${location.url.origin}/api/auth/${provider}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user