style: format restored board creator

This commit is contained in:
ajnart committed 2026-08-14 02:13:37 +02:00
1 parent 34a17932ae
commit 00e9dbe268
1 file changed
+1 -3
@@ -53,9 +53,7 @@ export const createBoardContentPage = <TParams extends Record<string, unknown>>(
const requestedBoardName =
typeof resolvedParams.name === "string" ? `/boards/${encodeURIComponent(resolvedParams.name)}` : null;
redirect(
requestedBoardName
? `/auth/login?callbackUrl=${encodeURIComponent(requestedBoardName)}`
: "/auth/login",
requestedBoardName ? `/auth/login?callbackUrl=${encodeURIComponent(requestedBoardName)}` : "/auth/login",
);
}