feat(silo): added in charts and historical data
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import HistoricalData from "@/components/logistics/siloAdjustments/HistoricalData";
|
||||
import { createFileRoute, redirect } from "@tanstack/react-router";
|
||||
|
||||
export const Route = createFileRoute("/(logistics)/siloAdjustments/$hist")({
|
||||
@@ -22,10 +23,10 @@ export const Route = createFileRoute("/(logistics)/siloAdjustments/$hist")({
|
||||
});
|
||||
|
||||
function RouteComponent() {
|
||||
const { hist } = Route.useParams();
|
||||
return (
|
||||
<div>
|
||||
Hello "/(logistics)/siloAdjustments/$hist"! where the historical
|
||||
data will be shown in a table alone with a graph
|
||||
<HistoricalData laneId={hist} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user