style: format restored board creator
This commit is contained in:
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",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user