안형욱

chore: 컴포넌트 이름 변경('Home' to 'Homepage')

import React from 'react';
import { createGlobalStyle } from 'styled-components';
import { BrowserRouter, Route, Switch } from 'react-router-dom';
import Home from './pages/Home';
import HomePage from './pages/HomePage';
import LoginPage from './pages/LoginPage';
import SearchPage from './pages/SearchPage';
......@@ -26,7 +26,7 @@ const App = () => (
<BrowserRouter>
<GlobalStyle />
<Switch>
<Route path="/" exact component={Home} />
<Route path="/" exact component={HomePage} />
<Route path="/login" exact component={LoginPage} />
<Route path="/search" exact component={SearchPage} />
</Switch>
......
......@@ -5,7 +5,7 @@ const Main = styled.div`
width: 100%;
`;
const Home = () => {
const HomePage = () => {
return (
<>
<Main>Home</Main>
......@@ -13,4 +13,4 @@ const Home = () => {
);
};
export default Home;
export default HomePage;
......