fix(core): warning when open center peek (#8819)
This commit is contained in:
2 files changed
+12
-4
No files matched your search
-4
@@ -32,10 +32,6 @@ export type EditorProps = {
|
||||
};
|
||||
|
||||
function usePageRoot(page: Doc) {
|
||||
if (!page.ready) {
|
||||
page.load();
|
||||
}
|
||||
|
||||
if (!page.root) {
|
||||
use(
|
||||
new Promise<void>((resolve, reject) => {
|
||||
|
||||
Reference in new issue
Block a user