mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-09 21:25:45 +08:00
fix(core): no share page in desktop (#7983)
This commit is contained in:
@@ -100,7 +100,7 @@ export const Component = (): ReactElement => {
|
|||||||
if (workspaceNotFound) {
|
if (workspaceNotFound) {
|
||||||
if (
|
if (
|
||||||
detailDocRoute /* */ &&
|
detailDocRoute /* */ &&
|
||||||
environment.isBrowser /* only browser has share page */
|
!environment.isDesktop /* only browser has share page */
|
||||||
) {
|
) {
|
||||||
return (
|
return (
|
||||||
<SharePage
|
<SharePage
|
||||||
|
|||||||
Reference in New Issue
Block a user