Skip to content

Commit 6a1e211

Browse files
committed
Reorganize the files
1 parent 3df8c0f commit 6a1e211

7 files changed

Lines changed: 4 additions & 2 deletions

File tree

File renamed without changes.

src/assets/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as Logo } from './images/logo.svg';
File renamed without changes.

src/App.tsx renamed to src/components/App/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import logo from './logo.svg';
2+
import { Logo as logo } from 'Assets';
33
import './App.css';
44

55
function App() {

src/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as App } from './App/App';

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
33
import './index.css';
4-
import App from './App';
4+
import { App } from 'Components'
55
import * as serviceWorker from './serviceWorker';
66

77
ReactDOM.render(

0 commit comments

Comments
 (0)