import React, { Suspense } from "react";
import { Router, View } from "react-navi";
import { ThemeProvider } from "emotion-theming";
import { ColorModeProvider, useColorMode } from "@chakra-ui/core";
import HelmetProvider from "react-navi-helmet-async";
import { CSSReset } from "@chakra-ui/core";
import { ConfigProvider } from "./lib/hooks/config";
import { StoreProvider } from "./lib/hooks/store";
import routes from "./routes";
import theme from "./theme";
import config from "./config";

const App = () => {
  return (
    <HelmetProvider>
      <Router routes={routes}>
        <ConfigProvider config={config}>
          <StoreProvider>
            <ThemeProvider theme={theme}>
              <CSSReset />
              <ColorModeProvider>
                <Suspense fallback={null}>
                  <View />
                </Suspense>
              </ColorModeProvider>
            </ThemeProvider>
          </StoreProvider>
        </ConfigProvider>
      </Router>
    </HelmetProvider>
  );
};

export default App;

@@ -59,344 +59,143 @@
 View
- %7D from %22react-navi%22;%0Aimport %7B ThemeProvider %7D from %22emotion-theming%22;%0Aimport %7B ColorModeProvider, useColorMode %7D from %22@chakra-ui/core%22;%0Aimport HelmetProvider from %22react-navi-helmet-async%22;%0Aimport %7B CSSReset %7D from %22@chakra-ui/core%22;%0Aimport %7B ConfigProvider %7D from %22./lib/hooks/config%22;%0Aimport %7B StoreProvider %7D from %22./lib/hooks/stor
+, NotFoundBoundary %7D from %22react-navi%22;%0Aimport HelmetProvider from %22react-navi-helmet-async%22;%0Aimport %7B ThemeProvider %7D from %22./lib/them
 e%22;%0A
@@ -232,21 +232,21 @@
 %0Aimport 
-theme
+seeds
  from %22.
@@ -250,44 +250,13 @@
  %22./
-theme%22;%0Aimport config from %22./config
+seeds
 %22;%0A%0A
@@ -340,169 +340,39 @@
 tes%7D
-%3E%0A        %3CConfigProvider config=%7Bconfig%7D%3E%0A          %3CStoreProvider%3E%0A            %3CThemeProvider theme=%7Btheme%7D%3E%0A              %3CCSSReset /%3E%0A              %3CColorMod
+ context=%7Bseeds%7D%3E%0A        %3CThem
 ePro
@@ -374,30 +374,24 @@
 meProvider%3E%0A
-      
           %3CS
@@ -427,22 +427,16 @@
         
-     
- 
 %3CView /%3E
@@ -436,22 +436,16 @@
 View /%3E%0A
-      
         
@@ -470,107 +470,15 @@
     
-      %3C/ColorModeProvider%3E%0A            %3C/ThemeProvider%3E%0A          %3C/StoreProvider%3E%0A        %3C/Config
+%3C/Theme
 Prov

simplify osaka app