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 // Redux Demo
// ********************************* // *********************************
const monitorState = useSelector((state) => state.monitors); const monitorState = useSelector((state) => state.monitors);
const { monitors } = monitorState; const { monitors, msg } = monitorState;
return ( return (
<div> <div>
<div style={{ padding: "4rem", border: "1px solid black" }}> <div style={{ padding: "4rem", border: "1px solid black" }}>
@@ -208,6 +208,7 @@ const Demo = () => {
})} })}
</tbody> </tbody>
</table> </table>
<p>Message: {msg}</p>
<Button <Button
level="primary" level="primary"
label="Get Monitors" label="Get Monitors"