Made notification integrations button.

This commit is contained in:
Skorpios committed 2025-02-24 22:08:06 -08:00
1 parent 982cd148f6
commit 31e01d7ac8
1 file changed
+15
+15
View File
@@ -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>