Skip to content

Commit 3c7baa5

Browse files
authored
1 parent 0ff8dd9 commit 3c7baa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/dashboard/components/RouteList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const RouteList: VoidComponent<{ dongleId: string }> = (props) => {
9090
pages[page] = (async () => {
9191
const previousPageData = page > 0 ? await getPage(page - 1) : undefined
9292
const key = getKey(previousPageData)
93-
return key ? fetcher<Route[]>(key) : []
93+
return key ? fetcher<Route[]>(key).catch(() => []) : []
9494
})()
9595
}
9696
return pages[page]

0 commit comments

Comments
 (0)