Changed the name of the component to be more meaningful.
This commit is contained in:
1 parent
9e0719a8f9
commit
01ac1f0bb9
2 files changed
+3
-3
No files matched your search
@@ -58,7 +58,7 @@ function createData(name, date, message) {
|
|||||||
* Customized table component displaying incident history.
|
* Customized table component displaying incident history.
|
||||||
* @returns {JSX.Element} The JSX element representing the customized table.
|
* @returns {JSX.Element} The JSX element representing the customized table.
|
||||||
*/
|
*/
|
||||||
export default function IncidentHistoryTable() {
|
export default function StatusTable() {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
|
|
||||||
const rows = [
|
const rows = [
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { useTheme } from '@mui/material/styles';
|
|||||||
import Box from '@mui/material/Box';
|
import Box from '@mui/material/Box';
|
||||||
import Typography from '@mui/material/Typography';
|
import Typography from '@mui/material/Typography';
|
||||||
import TuneIcon from '@mui/icons-material/Tune';
|
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({
|
const filterOptions = createFilterOptions({
|
||||||
matchFrom: 'start',
|
matchFrom: 'start',
|
||||||
@@ -81,7 +81,7 @@ export default function CustomizedTables() {
|
|||||||
</Typography>
|
</Typography>
|
||||||
<Filter />
|
<Filter />
|
||||||
</Box>
|
</Box>
|
||||||
<IncidentHistoryTable />
|
<StatusTable />
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user