Skip to content

Commit 59ba131

Browse files
committed
chore: redirect to hub/problems after problem created
1 parent 9be6ece commit 59ba131

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/forms/create-problem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default function CreateProblemForm() {
135135
}
136136

137137
toast({ title: 'Problem created successfully' });
138-
router.push('/hub');
138+
router.push('/hub/problems');
139139
};
140140

141141
function validate(): boolean {

0 commit comments

Comments
 (0)