Skip to content

Commit e27dd53

Browse files
committed
move css
1 parent 9449aab commit e27dd53

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/App.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
import React, { useState } from "react";
1+
import React from "react";
22

33
import Display from "./components/Display";
44

5-
import "./App.css";
6-
75
export default function App() {
86
const displayFunc = (data)=> {
97
console.log(data);
@@ -19,4 +17,4 @@ export default function App() {
1917
</div>
2018
</div>
2119
);
22-
}
20+
}

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from "react";
22
import ReactDOM from "react-dom";
33

44
import App from "./App";
5+
import "./App.css";
56

67
const rootElement = document.getElementById("root");
78
ReactDOM.render(<App />, rootElement);

0 commit comments

Comments
 (0)