mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 20:27:23 +00:00
Add storage keys for ResourcesView in search, tagged, and user pages
This commit is contained in:
@@ -105,6 +105,7 @@ function UserCard({ user }: { user: User }) {
|
||||
function UserResources({ user }: { user: User }) {
|
||||
return (
|
||||
<ResourcesView
|
||||
storageKey={`user-${user.username}`}
|
||||
loader={(page) => {
|
||||
return network.getResourcesByUser(user.username, page);
|
||||
}}
|
||||
|
Reference in New Issue
Block a user