Loading state dusccefully added.

This commit is contained in:
Lucid Kobold
2022-06-20 19:24:25 -05:00
parent 099c71876b
commit 181c399899
6 changed files with 43 additions and 42 deletions

View File

@@ -4,6 +4,8 @@ import { ChakraProvider } from "@chakra-ui/react";
import AppTheme from "../theme/AppTheme";
import Layout from "../theme/layout/Layout";
import Head from "next/head";
import { Provider } from "react-redux";
import { store } from "../app/store";
function LCMPottyChart({ Component, pageProps }: AppProps): JSX.Element {
return (
@@ -17,7 +19,9 @@ function LCMPottyChart({ Component, pageProps }: AppProps): JSX.Element {
content="width=device-width, user-scalable=yes, initial-scale=1.0"
/>
</Head>
<Component {...pageProps} />
<Provider store={store}>
<Component {...pageProps} />
</Provider>
</Layout>
</ChakraProvider>
</React.StrictMode>