fix: login button bug

This commit is contained in:
Juan Di Toro 2023-11-05 16:23:04 +01:00
parent 3f0fedd2b1
commit e83165b648
2 changed files with 5 additions and 3 deletions

View File

@ -40,8 +40,6 @@ import { Card, CardContent, CardHeader } from "@/components/ui/card";
import LogoImg from "@/assets/lume-logo.png"; import LogoImg from "@/assets/lume-logo.png";
import { Input } from "@/components/ui/input"; import { Input } from "@/components/ui/input";
import { Button } from "@/components/ui/button"; import { Button } from "@/components/ui/button";
import "@lumeweb/sdk/lib/style.css";
import "@/styles/global.css";
let BOOT_FUNCTIONS: (() => Promise<any>)[] = []; let BOOT_FUNCTIONS: (() => Promise<any>)[] = [];
@ -232,7 +230,8 @@ async function bootup() {
} }
function LoginDash() { function LoginDash() {
const { isLoggedIn } = useAuth(); // const { isLoggedIn } = useAuth();
const isLoggedIn = false;
const { ready, inited } = useLumeStatus(); const { ready, inited } = useLumeStatus();
return ( return (

View File

@ -1,5 +1,8 @@
--- ---
import App from "@/components/nft-gallery/App" 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"
--- ---
<html lang="en"> <html lang="en">
<head> <head>