aaredb/frontend/src/pages/ResultsView.tsx
GotthardG 548a86678b Update SampleTracker to support dynamic activePgroup
Enhanced the `SampleTracker` component to accept and utilize an `activePgroup` prop, allowing dynamic filtering of data based on the current project group. Adjusted related polling and data fetching logic to respond to changes in `activePgroup`. Removed excessive code from the test notebook for cleanup.
2025-02-27 11:20:04 +01:00

24 lines
523 B
TypeScript

// components/ResultView.tsx
import React from 'react';
import SampleTracker from '../components/SampleTracker';
import ResultGrid from '../components/ResultGrid';
interface ResultsViewProps {
activePgroup: string;
}
const ResultsView: React.FC<ResultsViewProps> = ({activePgroup
}) => {
return (
<div>
<h1>Results Page</h1>
<SampleTracker activePgroup={activePgroup}/>
<ResultGrid activePgroup={activePgroup} />
</div>
);
};
export default ResultsView;