diff --git a/todoblue/src/app/[lang]/useBoardCreator.ts b/todoblue/src/app/[lang]/useBoardCreator.ts deleted file mode 100644 index 2666c7e..0000000 --- a/todoblue/src/app/[lang]/useBoardCreator.ts +++ /dev/null @@ -1,13 +0,0 @@ -"use client"; -import {useCallback} from "react" -import {useRouter} from "next/navigation" - -export function useBoardCreator() { - const router = useRouter(); - - const createBoard = useCallback((board: String) => { - router.push(`/board/${board}`); - }, []) - - return {createBoard} -}