fix
Browse files- src/pages/index.tsx +1 -1
src/pages/index.tsx
CHANGED
@@ -46,7 +46,7 @@ export default function Home() {
|
|
46 |
</div>)}
|
47 |
{next ?
|
48 |
<button onClick={async () => {
|
49 |
-
const data = await (await fetch(next)).json() as HFRes;
|
50 |
setEntries([...entries, ...data.entries]);
|
51 |
setNext(data.nextURL!)
|
52 |
}}>more</button> : null}
|
|
|
46 |
</div>)}
|
47 |
{next ?
|
48 |
<button onClick={async () => {
|
49 |
+
const data = await (await fetch('https://huggingface.co' + next)).json() as HFRes;
|
50 |
setEntries([...entries, ...data.entries]);
|
51 |
setNext(data.nextURL!)
|
52 |
}}>more</button> : null}
|