Skip to content

Commit e0770ef

Browse files
committed
docs: update usage
1 parent 26c87eb commit e0770ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ import { JsonSchemaViewer } from "@stoplight/json-schema-viewer";
3333

3434
<JsonSchemaViewer
3535
name="Todos Model"
36-
dereferencedSchema={schemaWithoutRefs}
37-
schema={schemaWithRefs}
36+
schema={schema}
3837
expanded={true}
3938
hideTopBar={false}
4039
emptyText="No schema defined"

0 commit comments

Comments
 (0)