Add tagged resources page.

This commit is contained in:
2025-05-13 17:47:15 +08:00
parent 0dd2143664
commit f1345f9a0c
8 changed files with 88 additions and 8 deletions

View File

@@ -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