Skip to content

Commit 1534704

Browse files
committed
Reorganize imports in index.js and App.js
- Reorder and clean up import statements - Maintain consistent import order - Remove unnecessary blank lines
1 parent e162671 commit 1534704

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
import React from 'react';
44
import ReactDOM from 'react-dom/client';
5+
56
import './index.scss';
6-
import App from './routes/App';
77
import reportWebVitals from './reportWebVitals';
8+
import App from './routes/App';
89

910
const root = ReactDOM.createRoot(document.getElementById('root'));
1011
root.render(

src/routes/App.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@ import {
1010
import 'bootstrap/dist/css/bootstrap.min.css';
1111
import '../styles/app.scss';
1212

13-
1413
//Layouts
15-
import RootLayout from "../layouts/RootLayout";
1614
import ImpressLayout from "../layouts/ImpressLayout";
17-
15+
import RootLayout from "../layouts/RootLayout";
1816
// Pages
19-
import Impress from '../pages/Impress';
20-
import Welcome from "../pages/Welcome";
21-
2217
import Error from "../pages/errors/Error";
18+
import Impress from '../pages/Impress';
2319
import NotFound from "../pages/NotFound";
20+
import Welcome from "../pages/Welcome";
2421

2522
/*
2623
* Welcome == Hauptseite

0 commit comments

Comments
 (0)