Set up Redux Toolkit, Added redux demo to /demo route

This commit is contained in:
Alex Holliday committed 2024-06-04 12:15:35 -07:00
1 parent 637e3c54d0
commit ccb61004bb
8 files changed
+1610 -361

No files matched your search

+1 -2
View File
@@ -16,7 +16,7 @@ import AddIcon from "@mui/icons-material/Add";
/**
* @component
* @param {Object} props
* @param { Array} props.montitors - Array of monitors associated with the section
* @param { Array} props.monitors - Array of monitors associated with the section
* @returns {JSX.Element}
* @example
* // Renders a section component with a list of monitors
@@ -29,7 +29,6 @@ const Section = ({ monitors }) => {
);
useEffect(() => {
console.log("Monitor states updated", monitorStates);
// Update DB here
}, [monitorStates]);