mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-27 17:22:36 +03:00
fix(mobile): journal button should not show for edgeless (#8110)
This commit is contained in:
parent
2a2a969394
commit
d5ecf503c2
@ -185,10 +185,12 @@ const DetailPageImpl = () => {
|
||||
>
|
||||
{/* Add a key to force rerender when page changed, to avoid error boundary persisting. */}
|
||||
<AffineErrorBoundary key={doc.id}>
|
||||
<JournalIconButton
|
||||
docId={doc.id}
|
||||
className={styles.journalIconButton}
|
||||
/>
|
||||
{mode === 'page' && (
|
||||
<JournalIconButton
|
||||
docId={doc.id}
|
||||
className={styles.journalIconButton}
|
||||
/>
|
||||
)}
|
||||
<PageDetailEditor
|
||||
pageId={doc.id}
|
||||
onLoad={onLoad}
|
||||
|
Loading…
Reference in New Issue
Block a user