diff --git a/src/App.jsx b/src/App.jsx index 6e3c0de..32a1730 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,5 +1,5 @@ import { useEffect } from 'react'; -import Api from './Api'; +import Api from './api'; import WantedList from './components/WantedList'; import ListNavBar from './components/ListNavBar'; diff --git a/src/components/ListNavBar/index.jsx b/src/components/ListNavBar/index.jsx index 7c35b6f..e3db75d 100644 --- a/src/components/ListNavBar/index.jsx +++ b/src/components/ListNavBar/index.jsx @@ -1,5 +1,5 @@ import React from 'react'; -import Api from '../../Api'; +import Api from '../../api'; import './index.css'; const NavBar = () => { diff --git a/src/components/WantedList/index.jsx b/src/components/WantedList/index.jsx index ec47b0b..889bb94 100644 --- a/src/components/WantedList/index.jsx +++ b/src/components/WantedList/index.jsx @@ -2,7 +2,7 @@ import './index.css'; import React from 'react'; import { List } from 'semantic-ui-react'; -import Api from '../../Api'; +import Api from '../../api'; const CURRENT_CATEGORY = '모두 표시'; // MEAL, COFFEE, ALCOHOL, GAME, ETC const MAX_NAMES_TO_DISPLAY = 2; diff --git a/src/pages/AddPost.jsx b/src/pages/AddPost.jsx index f161f55..7dcf30f 100644 --- a/src/pages/AddPost.jsx +++ b/src/pages/AddPost.jsx @@ -1,6 +1,6 @@ import React from 'react'; import { Container, Input, Button } from 'semantic-ui-react'; -import Api from '../Api'; +import Api from '../api'; import NavBar from '../components/ListNavBar'; const AddPost = () => {