Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
beliolfa committed Sep 8, 2023
1 parent 264a645 commit 40d7c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/editor/form/context/formEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function createFormEditorContext(jsonSchemaURL: Readable<string | null>):
set: (value: { value: UIModelRootField | undefined; updatedAt: number }) => void,
) {
recreatingUiModel.set(true);
const model = await getUIModel(schema, get(editorJSON).value) as UIModelRootField | undefined;
const model = (await getUIModel(schema, get(editorJSON).value)) as UIModelRootField | undefined;

if (model && model?.value !== editor) {
updateEditor(model);
Expand Down

0 comments on commit 40d7c25

Please sign in to comment.