mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: load duplicate components on demand
This commit is contained in:
parent
9d3a810847
commit
a35e2d597e
@ -23,7 +23,7 @@ function Duplicate() {
|
||||
{t('publish.saveThisPage')}
|
||||
</Button>
|
||||
<LoginModal redirectTo={url} open={loginOpen} onClose={handleLoginClose} />
|
||||
<DuplicateModal open={duplicateOpen} onClose={handleDuplicateClose} />
|
||||
{duplicateOpen && <DuplicateModal open={duplicateOpen} onClose={handleDuplicateClose} />}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user