Skip to content

Commit

Permalink
fix(editor): storage normalize in finder
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Nov 29, 2021
1 parent 67a3399 commit 5fe2895
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/use/entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 5fe2895

Please sign in to comment.