Skip to content

Commit 6a9c60a

Browse files
committed
Return switching schemas to SUIR demo/index
1 parent 26e2327 commit 6a9c60a

File tree

1 file changed

+2
-2
lines changed
  • packages/suir-component-mapper/demo

1 file changed

+2
-2
lines changed

packages/suir-component-mapper/demo/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const compositeMapper = {
1717
};
1818

1919
const App = () => {
20-
const [, setSchema] = useState(wizardSchema);
20+
const [schema, setSchema] = useState(wizardSchema);
2121

2222
return (
2323
<div>
@@ -35,7 +35,7 @@ const App = () => {
3535
onSubmit={console.log}
3636
componentMapper={compositeMapper}
3737
FormTemplate={(props) => <FormTemplate {...props} showFormControls={true} />}
38-
schema={fieldArraySchema}
38+
schema={schema}
3939
onCancel={() => console.log('canceling')}
4040
/>
4141
</div>

0 commit comments

Comments
 (0)