Skip to content

Commit 103e6d5

Browse files
committed
prettify
1 parent 52ee2d4 commit 103e6d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useDataApiHook-example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const useDataApi = (initialUrl, initialData) => {
6868

6969
function App() {
7070
const [query, setQuery] = useState('redux');
71-
const [{data, isLoading, isError}, doFetch] = useDataApi(
71+
const [{ data, isLoading, isError }, doFetch] = useDataApi(
7272
'http://hn.algolia.com/api/v1/search?query=redux',
7373
{ hits: [] },
7474
);

0 commit comments

Comments
 (0)