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
|
||||
// *********************************
|
||||
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"
|
||||
|
||||
Reference in new issue
Block a user