mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-09 13:15:51 +08:00
feat(route): better refresh
This commit is contained in:
@@ -9,7 +9,6 @@ import Pages from './pages';
|
||||
export function WorkspaceContainer() {
|
||||
const { workspace_id } = useParams();
|
||||
const { user, currentSpaceId } = useUserAndSpaces();
|
||||
|
||||
if (
|
||||
user &&
|
||||
![currentSpaceId, 'affine2vin277tcmafwq'].includes(workspace_id)
|
||||
|
||||
Reference in New Issue
Block a user