Implement nda check as a directive

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-03-03 14:42:17 +04:00
parent 23491a7976
commit 823fc64c37
9 changed files with 427 additions and 245 deletions

View File

@@ -67,7 +67,7 @@ export function ConnectPage(props: {
safeContinueUrl = window.location.origin + continueUrl.pathname + continueUrl.search;
} else {
const pathPrefix = getPathPrefix();
safeContinueUrl = window.location.origin + pathPrefix ? getPathPrefix() : "/";
safeContinueUrl = window.location.origin + (pathPrefix ? getPathPrefix() : "/");
}
useEffect(() => {