Changed the name of the component to be more meaningful.

This commit is contained in:
M M
2024-07-11 11:21:43 -07:00
parent 9e0719a8f9
commit 01ac1f0bb9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ function createData(name, date, message) {
* Customized table component displaying incident history.
* @returns {JSX.Element} The JSX element representing the customized table.
*/
export default function IncidentHistoryTable() {
export default function StatusTable() {
const theme = useTheme();
const rows = [
+2 -2
View File
@@ -5,7 +5,7 @@ import { useTheme } from '@mui/material/styles';
import Box from '@mui/material/Box';
import Typography from '@mui/material/Typography';
import TuneIcon from '@mui/icons-material/Tune';
import IncidentHistoryTable from '../../Components/StatusTable'; // Make sure to import the correct path to your IncidentHistoryTable component
import StatusTable from '../../Components/StatusTable'; // Make sure to import the correct path to your IncidentHistoryTable component
const filterOptions = createFilterOptions({
matchFrom: 'start',
@@ -81,7 +81,7 @@ export default function CustomizedTables() {
</Typography>
<Filter />
</Box>
<IncidentHistoryTable />
<StatusTable />
</Box>
);
}