diff --git a/src/index.tsx b/src/index.tsx index 98c629e..476b6d6 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -14,7 +14,7 @@ const particlesUrl = localStorage.getItem("particles") || "none"; export default function App() { const [init, setInit] = useState(false); - const {background} = useTheme(); + const { background } = useTheme(); // this should be run only once per application lifetime useEffect(() => { initParticlesEngine(async (engine) => { @@ -37,14 +37,17 @@ export default function App() { {window.location.origin === "https://nebulaproxy.io" && } {/* {window.location.origin === "http://localhost:8080" && } */} }> - -
+
+ +
+
{init && particlesUrl !== "none" && ( )}