From dd27fdc6baa67d47178b8c6a63a123688cdfd028 Mon Sep 17 00:00:00 2001 From: Malik Whitten <65188863+MalikWhitten67@users.noreply.github.com> Date: Wed, 17 Jan 2024 12:01:13 -0930 Subject: [PATCH] Fix imports --- pages/index.jsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/index.jsx b/pages/index.jsx index 31bcc08..72980e3 100644 --- a/pages/index.jsx +++ b/pages/index.jsx @@ -2,7 +2,7 @@ const { strictMount } = await import("./vader.js"); let { Component, require, useState } = await import("./vader.js"); let { Button } = await require("./src/button.jsx"); -let { Nav } = await require("./src/Nav.jsx"); +let { Nav } = await require("./src/nav.jsx"); let { ComponentExample } = await require("./src/examples/component.jsx"); let { CodeBlock } = await require("./src/codeblock.jsx"); class Index extends Component { @@ -12,11 +12,11 @@ class Index extends Component { } render() { - let [view, setView] = this.useState('view', 'index') - + let [view, setView] = this.useState('view', 'index') + - let [loaded, setLoaded] = this.useState('loaded', false) - + let [loaded, setLoaded] = this.useState('loaded', false) + let embedref = this.useRef('embedref', null) return ` @@ -120,6 +120,6 @@ class Index extends Component { } return { default: Index }; // export index component - - - //wascompiled \ No newline at end of file + + + //wascompiled