Skip to content

Commit a2f38f5

Browse files
author
Mitchel Severe
committed
Swap App from React.SFC to React.FC
1 parent db8ebcd commit a2f38f5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/App.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ import './public/styles/style.css';
33
import AppContainer from './containers/AppContainer';
44
// import Test from './components/Test';
55

6-
export const App: React.SFC = () => (
6+
const App: React.FC = () => (
77
<div className="app">
8-
<div>
9-
<header style={{ height: '40px', width: '100%' }}>ReacType</header>
10-
<AppContainer />
11-
{/* <Test /> */}
12-
</div>
8+
<AppContainer />
9+
{/* <Test /> */}
1310
</div>
1411
);
1512

0 commit comments

Comments
 (0)