mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-28 04:27:24 +00:00
serve frontend
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
import { useEffect } from "react";
|
||||
import ResourcesView from "../components/resources_view.tsx";
|
||||
import {network} from "../network/network.ts";
|
||||
import { app } from "../app.ts";
|
||||
|
||||
export default function HomePage() {
|
||||
useEffect(() => {
|
||||
document.title = app.appName;
|
||||
}, [])
|
||||
|
||||
return <ResourcesView loader={(page) => network.getResources(page)}></ResourcesView>
|
||||
}
|
Reference in New Issue
Block a user