Skip to content

Commit

Permalink
chore: 쓰지 않는 컴포넌트, props 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
daeseong9388 committed Dec 17, 2022
1 parent 72f9bd1 commit 7556aa7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Menubar from '@container/Menubar';
import Main from '@page/Main';
import Todos from '@page/Todos';
import DiagramPage from '@page/DiagramPage';
import OverLay from '@components/OverLay';
import TodoController from '@container/TodoController';

import { TutorialImage } from '@components/tutorial/TutorialImage';
Expand Down Expand Up @@ -82,7 +81,7 @@ const App = (): ReactElement => {
</Routes>
</Wrapper>
<TodoController />
{isShow && <TutorialImage isTutorial={isTutorial} setIsOver={setIsOver} />}
{isShow && <TutorialImage setIsOver={setIsOver} />}
{isTutorial && (
<TutorialRadialOverlay>
<span>
Expand Down
2 changes: 0 additions & 2 deletions client/src/components/tutorial/TutorialImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ const StyledCancelButton = styled(Button)`
`;

export const TutorialImage = ({
isTutorial,
setIsOver,
}: {
isTutorial: boolean;
setIsOver: React.Dispatch<React.SetStateAction<boolean>>;
}): ReactElement => {
const [currentIndex, setCurrentIndex] = useState(0);
Expand Down

0 comments on commit 7556aa7

Please sign in to comment.