Made notification integrations button.
This commit is contained in:
1 parent
982cd148f6
commit
31e01d7ac8
1 file changed
+15
@@ -202,6 +202,10 @@ const CreateMonitor = () => {
|
|||||||
}));
|
}));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const handleAddNotification = () => {
|
||||||
|
console.log("Add notification clicked");
|
||||||
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const fetchMonitor = async () => {
|
const fetchMonitor = async () => {
|
||||||
if (monitorId) {
|
if (monitorId) {
|
||||||
@@ -402,6 +406,17 @@ const CreateMonitor = () => {
|
|||||||
value={user?.email}
|
value={user?.email}
|
||||||
onChange={(event) => handleNotifications(event, "email")}
|
onChange={(event) => handleNotifications(event, "email")}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<Box mt={theme.spacing(2)}>
|
||||||
|
<Button
|
||||||
|
variant="contained"
|
||||||
|
color="accent"
|
||||||
|
onClick={handleAddNotification}
|
||||||
|
>
|
||||||
|
Notification Integration
|
||||||
|
</Button>
|
||||||
|
</Box>
|
||||||
|
|
||||||
</Stack>
|
</Stack>
|
||||||
</ConfigBox>
|
</ConfigBox>
|
||||||
<ConfigBox>
|
<ConfigBox>
|
||||||
|
|||||||
Reference in new issue
Block a user