Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/page/TableComposition/hook/useTableFrom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const useTableFrom = (
},
);
const isNewMoimCreation =
currentStep === '이름타입입력' && navigationType === 'PUSH';
currentStep === 'NameAndType' && navigationType === 'PUSH';

if (isNewMoimCreation) {
removeValue();
Expand All @@ -50,7 +50,7 @@ const useTableFrom = (
}, [initData]);

useEffect(() => {
if (currentStep === '타임박스입력' && navigationType === 'POP') {
if (currentStep === 'TimeBox' && navigationType === 'POP') {
navigate('/table');
}
}, [currentStep, navigationType, navigate]);
Expand Down
2 changes: 1 addition & 1 deletion src/page/TableListPage/components/Table/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const CurrentRoute = () => {
export const Default: Story = {
args: {
name: '테이블 1',
type: '의회식 토론',
type: 'PARLIAMENTARY',
duration: 30,
},
};
Loading