Added msg display

This commit is contained in:
Alex Holliday committed 2024-06-04 13:44:46 -07:00
1 parent 9926f60c09
commit 6bd1cee24f
1 file changed
+2 -1
+2 -1
View File
@@ -181,7 +181,7 @@ const Demo = () => {
// Redux Demo
// *********************************
const monitorState = useSelector((state) => state.monitors);
const { monitors } = monitorState;
const { monitors, msg } = monitorState;
return (
<div>
<div style={{ padding: "4rem", border: "1px solid black" }}>
@@ -208,6 +208,7 @@ const Demo = () => {
})}
</tbody>
</table>
<p>Message: {msg}</p>
<Button
level="primary"
label="Get Monitors"