mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-28 12:37:25 +00:00
Add tagged resources page.
This commit is contained in:
@@ -17,7 +17,7 @@ export default function ResourcesView({loader}: {loader: (page: number) => Promi
|
||||
isLoadingRef.current = true
|
||||
const res = await loader(pageRef.current)
|
||||
if (!res.success) {
|
||||
showToast({message: "Error loading resources", type: "error"})
|
||||
showToast({message: res.message, type: "error"})
|
||||
} else {
|
||||
isLoadingRef.current = false
|
||||
pageRef.current = pageRef.current + 1
|
||||
|
Reference in New Issue
Block a user