Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Do not show logs by default on Demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Sep 27, 2018
1 parent 8912391 commit 5782442
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion example/src/Demo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ function Demo({ fetchSwagger, status, docs, oas, oauth }) {
variables={{
// Uncomment this to test without logs
// user: {}
user: { keys: [{ id: 'someid', name: 'project1', apiKey: '123' }, { id: 'anotherid', name: 'project2', apiKey: '456' }] },
// Uncomment this to test with logs
// user: {
// keys: [
// { id: 'someid', name: 'project1', apiKey: '123' },
// { id: 'anotherid', name: 'project2', apiKey: '456' },
// ],
// },
user: { keys: [{ name: 'project1', apiKey: '123' }, { name: 'project2', apiKey: '456' }] },
defaults: [],
}}
glossaryTerms={[{ term: 'apiKey', definition: 'This is a definition' }]}
Expand Down

0 comments on commit 5782442

Please sign in to comment.