diff --git a/client/src/container/Header.tsx b/client/src/container/Header.tsx index 60f370a..352653a 100644 --- a/client/src/container/Header.tsx +++ b/client/src/container/Header.tsx @@ -24,6 +24,7 @@ const Wrapper = styled.div` const Header = (): ReactElement => { const [isTutorial, setIsTutorial] = useAtom(isTutorialAtom); + const url: string = isTutorial ? '/tutorials' : '/'; const [, changeIndexedDBtoMemory] = useAtom(changeIndexedDBtoMemoryAtom); const [, changeMemorytoIndexedDB] = useAtom(changeMemorytoIndexedDBAtom); const startTutorial = (): void => { @@ -36,7 +37,7 @@ const Header = (): ReactElement => { }; return ( - + {isTutorial ? (