diff --git a/pages/_app.js b/pages/_app.js index fb2695a..2f5adf8 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -1,4 +1,4 @@ -import { createTheme, NextUIProvider } from "@nextui-org/react"; +import { createTheme, Image, NextUIProvider } from "@nextui-org/react"; import { NextSeo } from "next-seo"; import { ThemeProvider as NextThemesProvider } from "next-themes"; import Head from "next/head"; @@ -61,10 +61,13 @@ function MyApp({ Component, pageProps }) { /> diff --git a/pages/index.js b/pages/index.js index 781cf3e..8ab1869 100644 --- a/pages/index.js +++ b/pages/index.js @@ -8,6 +8,7 @@ import { Modal, Radio, Spacer, + Spinner, Switch, Text, } from "@nextui-org/react"; @@ -64,7 +65,7 @@ export default class Home extends Component { let values = {}; Object.entries(json.values).forEach((value) => { if (value[0] !== undefined) { - values[value[0]] = value[1]; + values[value[0]] = value[1]; } }); @@ -142,7 +143,9 @@ export default class Home extends Component { render() { return this.state.loading ? ( -

Loading...

+
+ +
) : (