質問編集履歴

1

importを追加

2021/01/28 08:44

投稿

H.T.
H.T.

スコア5

test CHANGED
File without changes
test CHANGED
@@ -14,6 +14,42 @@
14
14
 
15
15
  ```
16
16
 
17
+ import React from 'react';
18
+
19
+ import ReactDOM from 'react-dom';
20
+
21
+ import {
22
+
23
+ BrowserRouter as Router,
24
+
25
+ Switch,
26
+
27
+ Route
28
+
29
+ } from 'react-router-dom';
30
+
31
+ import PrivateRoute from './Auth/PrivateRoute';
32
+
33
+ import PublicRoute from './Auth/PublicRoute';
34
+
35
+
36
+
37
+ import Login from '../js/Auth/Login';
38
+
39
+ import SignUp from '../js/Auth/SignUp';
40
+
41
+ import Main from '../js/Pages/Main';
42
+
43
+ import Search from '../js/Search/Search';
44
+
45
+ import NewDiary from './NewDiary/NewDiary';
46
+
47
+ import ListDiary from './ListDiary/ListDiary';
48
+
49
+ import EditDiary from './ListDiary/EditDiary';
50
+
51
+
52
+
17
53
  function Index() {
18
54
 
19
55
  const Top = () => {