Skip to content

Commit

Permalink
FIRE-290 edit imports
Browse files Browse the repository at this point in the history
import 다른 directory에서 가져오는 오류 수정
  • Loading branch information
071yoon committed Jul 10, 2022
1 parent e15cb58 commit 47b2bb6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pages/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { useState } from 'react';
import { useNavigate } from 'react-router-dom';
import { ScrollMenu } from 'react-horizontal-scrolling-menu';
import vectors from '../components/atoms/Vectors';
import Blocks from '../components/lobby/Blocks';
import Search from '../components/lobby/Search';
import Blocks from '../components/main/Blocks';
import Search from '../components/main/Search';
import InputNickname from '../components/login/InputNickname';
import Modal from '../components/atoms/Modal';

Expand Down
14 changes: 12 additions & 2 deletions src/pages/Main.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
import { useState } from 'react';
import styled from 'styled-components';
import Scrolls from '../components/main/Scrolls';
import Header from '../components/main/Header';
import Title from '../components/main/TitleContainer';
import Modal from '../components/layout/Modal';
import Modal from '../components/atoms/Modal';
import InputNickname from '../components/login/InputNickname';

export default function Main() {
const [isModal, setIsModal] = useState(true);
const modalHandler = () => {
setIsModal(false);
};
return (
<>
<Container>
<Header />
<Title />
<Scrolls />
</Container>
<Modal />
{isModal && (
<Modal modalHandler={modalHandler}>
<InputNickname />
</Modal>
)}
</>
);
}
Expand Down

0 comments on commit 47b2bb6

Please sign in to comment.