sdy
...@@ -3,13 +3,12 @@ import ReactDOM from 'react-dom'; ...@@ -3,13 +3,12 @@ import ReactDOM from 'react-dom';
3 import './mainpage/main.css'; 3 import './mainpage/main.css';
4 4
5 import HelloKhu from './mainpage/main'; 5 import HelloKhu from './mainpage/main';
6 -import KhuIcon from './mainpage/main'; 6 +
7 7
8 8
9 ReactDOM.render( 9 ReactDOM.render(
10 <React.StrictMode> 10 <React.StrictMode>
11 <HelloKhu/> 11 <HelloKhu/>
12 -
13 </React.StrictMode>, 12 </React.StrictMode>,
14 document.getElementById('root') 13 document.getElementById('root')
15 ); 14 );
......
...@@ -22,4 +22,11 @@ class KhuIcon extends Component { ...@@ -22,4 +22,11 @@ class KhuIcon extends Component {
22 } 22 }
23 } 23 }
24 24
25 - 25 +export default () => {
26 + return (
27 + <>
28 + <KhuIcon />
29 + <HelloKhu />
30 + </>
31 + )
32 +};
......