21 lines
692 B
TypeScript
21 lines
692 B
TypeScript
import type {Route} from "../../../.react-router/types/app/pages/dashboard/+types/PerformanceTestPushData";
|
|
import React from "react";
|
|
import type {PerformanceGetListData} from "~/utils/models.ts";
|
|
import { proxy } from 'valtio';
|
|
import PerformanceTest from "~/components/PerformanceTest";
|
|
|
|
export function meta({}: Route.MetaArgs) {
|
|
return [
|
|
{ title: "Performance Test PushData" },
|
|
{ name: "description", content: "Performance Test PushData" },
|
|
];
|
|
}
|
|
|
|
const performanceDataState = proxy<PerformanceGetListData[]>([]);
|
|
|
|
export default function Component() {
|
|
return (
|
|
<PerformanceTest isPushTest={true} performanceDataState={performanceDataState} />
|
|
)
|
|
}
|