Skip to content

Commit 7547324

Browse files
committed
fix: some changes
1 parent 603454e commit 7547324

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/containers/CategoryForm/CategoryForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const CategoryForm = ({ type }: IProps) => {
2828
query: { categoryId },
2929
} = useRouter();
3030

31-
useBackButton(type === 'create' ? '/' : `/${categoryId}`);
31+
useBackButton(type === 'create' ? '/' : `/category/${categoryId}`);
3232

3333
const { data: category, isLoading } = useCategory(categoryId as string);
3434

src/pages/create/todo-list/index.tsx

Whitespace-only changes.

0 commit comments

Comments
 (0)