Fixed dark mode not activating immediatly at refresh (#1666)

Changed location of dark listener to improve dark performance
This commit is contained in:
Lucas Oliveira 2024-04-10 22:17:58 +02:00 • committed by GitHub
commit 895eea688a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 11 deletions

View file

@ -11,7 +11,7 @@
></script>
<title>Langflow</title>
</head>
<body id="body" style="width: 100%; height: 100%">
<body id="body" class="dark" style="width: 100%; height: 100%">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div style="width: 100vw; height: 100vh" id="root"></div>
<script type="module" src="/src/index.tsx"></script>