Skip to content

Commit 52454d5

Browse files
committed
fix schema not updating
1 parent e7920ae commit 52454d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/SchemaForm.svelte

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
export let components: Record<string, new (...args: any[]) => any> = {};
3535
export let componentContext: Record<string, unknown> = {};
3636
37-
let resolvedSchema: any = resolveRefs(schema, schema)
38-
37+
$: resolvedSchema = resolveRefs(schema, schema) as any
3938
const dispatch = createEventDispatcher();
4039
4140
let validationErrors = {} as ValidationErrors;

0 commit comments

Comments
 (0)