mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
chore: drop old client support (#14369)
This commit is contained in:
@@ -125,16 +125,6 @@ export const OnboardingPage = ({
|
||||
return null;
|
||||
}
|
||||
|
||||
// deprecated
|
||||
// TODO(@forehalo): remove
|
||||
if (callbackUrl?.startsWith('/open-app/signin-redirect')) {
|
||||
const url = new URL(callbackUrl, window.location.origin);
|
||||
url.searchParams.set('next', 'onboarding');
|
||||
console.log('redirect to', url.toString());
|
||||
window.location.assign(url.toString());
|
||||
return null;
|
||||
}
|
||||
|
||||
if (question) {
|
||||
return (
|
||||
<ScrollableLayout
|
||||
|
||||
Reference in New Issue
Block a user