Skip to content

Commit

Permalink
fix(delete board): fixed redirect route (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrbus authored Nov 23, 2023
1 parent 1426767 commit 0ee23b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function DeleteBoard({ board }: { board: TBoard }) {
message: 'Board not found',
})
await fetchDeleteBoard(board.id as TBoardID)
router.push('/edit/boards')
router.push('/boards')
} catch (error) {
addToast({
title: 'Noe gikk galt',
Expand Down

0 comments on commit 0ee23b1

Please sign in to comment.