style: format restored board creator
This commit is contained in:
1 parent
fc66211dd2
commit
e55def9b60
1 file changed
+1
-3
@@ -55,9 +55,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