add AppContext for state management and update ResourcesView to utilize context

This commit is contained in:
2025-05-23 21:53:39 +08:00
parent 81053d56f7
commit 4038683a56
5 changed files with 53 additions and 5 deletions

View File

@@ -32,6 +32,6 @@ export default function HomePage() {
</div>
</div>
}
<ResourcesView loader={(page) => network.getResources(page)}></ResourcesView>
<ResourcesView storageKey={"home_page"} loader={(page) => network.getResources(page)}></ResourcesView>
</>
}