From e83165b6482f91ae500eb167f16c5f62ad9c93a4 Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Sun, 5 Nov 2023 16:23:04 +0100 Subject: [PATCH] fix: login button bug --- src/components/nft-gallery/App.tsx | 5 ++--- src/pages/nft-gallery.astro | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/nft-gallery/App.tsx b/src/components/nft-gallery/App.tsx index 9c016a0..af2b9d0 100644 --- a/src/components/nft-gallery/App.tsx +++ b/src/components/nft-gallery/App.tsx @@ -40,8 +40,6 @@ import { Card, CardContent, CardHeader } from "@/components/ui/card"; import LogoImg from "@/assets/lume-logo.png"; import { Input } from "@/components/ui/input"; import { Button } from "@/components/ui/button"; -import "@lumeweb/sdk/lib/style.css"; -import "@/styles/global.css"; let BOOT_FUNCTIONS: (() => Promise)[] = []; @@ -232,7 +230,8 @@ async function bootup() { } function LoginDash() { - const { isLoggedIn } = useAuth(); + // const { isLoggedIn } = useAuth(); + const isLoggedIn = false; const { ready, inited } = useLumeStatus(); return ( diff --git a/src/pages/nft-gallery.astro b/src/pages/nft-gallery.astro index f029907..fd40000 100644 --- a/src/pages/nft-gallery.astro +++ b/src/pages/nft-gallery.astro @@ -1,5 +1,8 @@ --- import App from "@/components/nft-gallery/App" +// NEVER MOVE THIS, FIXING THE LOGIN BUTTON ERROR +import "@lumeweb/sdk/lib/style.css" +import "@/styles/global.css" ---