From 5fe28957297c01bd469c848065d8c406196fea26 Mon Sep 17 00:00:00 2001 From: Novout Date: Mon, 29 Nov 2021 11:45:30 -0300 Subject: [PATCH] fix(editor): storage normalize in finder --- src/use/entity.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/use/entity.ts b/src/use/entity.ts index a61e84a80..6cb7b7f38 100644 --- a/src/use/entity.ts +++ b/src/use/entity.ts @@ -203,7 +203,9 @@ export const useEntity = () => { object.entity ) - onGo(`entity-${entityIndex}`, object.page) + storage.normalize().then(() => { + onGo(`entity-${entityIndex}`, object.page) + }) } const onGo = async (go: string | symbol, page: ContextState) => {