Skip to content

Commit a169bb1

Browse files
Removed react-json-view
1 parent 95298c1 commit a169bb1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/repositories/SearchForm.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ The SearchForm component will make a search api call and return the resulting re
33
```js
44
import { useState } from 'react';
55
import { Paper } from '@material-ui/core';
6-
import ReactJson from 'react-json-view';
76
import { SearchForm } from 'gitea-react-toolkit';
87

98
const [repos, setRepos] = useState([]);
@@ -20,7 +19,7 @@ const [repos, setRepos] = useState([]);
2019
</Paper>
2120
<h3>Search Results:</h3>
2221
<Paper style={{maxHeight: '300px', overflow: 'scroll'}}>
23-
<ReactJson src={repos} />
22+
<pre>{JSON.stringify(repos)}</pre>
2423
</Paper>
2524
</div>
2625
```

0 commit comments

Comments
 (0)