From 2b61f24e45542583e677b96d9eb0ffc59cc22369 Mon Sep 17 00:00:00 2001 From: evgeniywas Date: Fri, 2 Jun 2023 21:34:08 +0100 Subject: [PATCH] refactor: correct imports due to deleted files --- src/app/theme-layouts/themeLayoutConfigs.js | 4 ---- src/app/theme-layouts/themeLayouts.js | 4 ---- src/index.js | 6 ------ 3 files changed, 14 deletions(-) diff --git a/src/app/theme-layouts/themeLayoutConfigs.js b/src/app/theme-layouts/themeLayoutConfigs.js index e772f12..e5dd903 100644 --- a/src/app/theme-layouts/themeLayoutConfigs.js +++ b/src/app/theme-layouts/themeLayoutConfigs.js @@ -1,11 +1,7 @@ import layout1 from './layout1/Layout1Config'; -import layout2 from './layout2/Layout2Config'; -import layout3 from './layout3/Layout3Config'; const themeLayoutConfigs = { layout1, - layout2, - layout3, }; export default themeLayoutConfigs; diff --git a/src/app/theme-layouts/themeLayouts.js b/src/app/theme-layouts/themeLayouts.js index 5a8c448..8b36cf0 100644 --- a/src/app/theme-layouts/themeLayouts.js +++ b/src/app/theme-layouts/themeLayouts.js @@ -1,11 +1,7 @@ import layout1 from './layout1/Layout1'; -import layout2 from './layout2/Layout2'; -import layout3 from './layout3/Layout3'; const themeLayouts = { layout1, - layout2, - layout3, }; export default themeLayouts; diff --git a/src/index.js b/src/index.js index 503c962..c34bb64 100644 --- a/src/index.js +++ b/src/index.js @@ -7,7 +7,6 @@ import './styles/app-components.css'; import './styles/app-utilities.css'; import { createRoot } from 'react-dom/client'; import App from './app/App'; -import * as serviceWorker from './serviceWorker'; import reportWebVitals from './reportWebVitals'; const container = document.getElementById('root'); @@ -15,8 +14,3 @@ const root = createRoot(container); root.render(); reportWebVitals(); - -// If you want your app to work offline and load faster, you can change -// unregister() to register() below. Note this comes with some pitfalls. -// Learn more about service workers: http://bit.ly/CRA-PWA -serviceWorker.unregister();