mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-28 12:32:09 +03:00
chore: fix deepScan warning
This commit is contained in:
parent
5bd95f68c2
commit
9ee78221a7
@ -31,7 +31,7 @@ const Page: NextPageWithLayout = () => {
|
||||
.loadPublicWorkspace(router.query.workspaceId as string)
|
||||
.then(data => {
|
||||
setWorkspaceName(data.blocksuiteWorkspace?.meta.name as string);
|
||||
if (data && data.blocksuiteWorkspace) {
|
||||
if (data.blocksuiteWorkspace) {
|
||||
setWorkspace(data.blocksuiteWorkspace);
|
||||
if (
|
||||
router.query.pageId &&
|
||||
|
Loading…
Reference in New Issue
Block a user