refactor: 프론트 템플릿 리펙토링
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
PageHeader,
|
||||
type DataTableColumn,
|
||||
} from "../design-system/index.ts";
|
||||
import { useApplication } from "../providers/application-provider.tsx";
|
||||
import { useApplicationRuntime } from "../providers/application-provider.tsx";
|
||||
|
||||
/**
|
||||
* Every number and row on this page is read from an installed registry at
|
||||
@@ -279,7 +279,7 @@ function buildOperationRows(): readonly OperationRow[] {
|
||||
}
|
||||
|
||||
export default function PlatformOverviewPage() {
|
||||
const { runtime } = useApplication();
|
||||
const runtime = useApplicationRuntime();
|
||||
const [release, setRelease] = useState<
|
||||
Awaited<ReturnType<typeof runtime.getReleaseSummary>> | null
|
||||
>(null);
|
||||
|
||||
Reference in New Issue
Block a user