We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95298c1 commit a169bb1Copy full SHA for a169bb1
src/components/repositories/SearchForm.md
@@ -3,7 +3,6 @@ The SearchForm component will make a search api call and return the resulting re
3
```js
4
import { useState } from 'react';
5
import { Paper } from '@material-ui/core';
6
-import ReactJson from 'react-json-view';
7
import { SearchForm } from 'gitea-react-toolkit';
8
9
const [repos, setRepos] = useState([]);
@@ -20,7 +19,7 @@ const [repos, setRepos] = useState([]);
20
19
</Paper>
21
<h3>Search Results:</h3>
22
<Paper style={{maxHeight: '300px', overflow: 'scroll'}}>
23
- <ReactJson src={repos} />
+ <pre>{JSON.stringify(repos)}</pre>
24
25
</div>
26
```
0 commit comments