Added msg display
This commit is contained in:
1 parent
9926f60c09
commit
6bd1cee24f
1 file changed
+2
-1
@@ -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"
|
||||||
|
|||||||
Reference in new issue
Block a user