@@ -38,45 +38,6 @@ export default function AutomationForm() {
38
38
const title = useDocumentTitle ( ) ;
39
39
const { state, actions} = useAutomationBuilderReducer ( ) ;
40
40
const [ model ] = useState ( ( ) => new FormModel ( ) ) ;
41
- const [ monitor1Connected , setMonitor1Connected ] = useState ( true ) ;
42
- const [ monitor2Connected , setMonitor2Connected ] = useState ( true ) ;
43
-
44
- const data : MonitorsData [ ] = [
45
- {
46
- name : {
47
- name : 'Error Grouping' ,
48
- project : {
49
- slug : 'javascript' ,
50
- platform : 'javascript' ,
51
- } ,
52
- link : '/issues/1' ,
53
- } ,
54
- lastIssue : { shortId : 'JAVASCRIPT-SHGH' , platform : 'javascript' } ,
55
- type : 'errors' ,
56
- createdBy : 'sentry' ,
57
- connect : { connected : monitor1Connected , toggleConnected : setMonitor1Connected } ,
58
- } ,
59
- {
60
- name : {
61
- name : 'Error Grouping' ,
62
- project : {
63
- slug : 'javascript' ,
64
- platform : 'javascript' ,
65
- } ,
66
- link : '/issues/1' ,
67
- } ,
68
- lastIssue : { shortId : 'JAVASCRIPT-SHGH' , platform : 'javascript' } ,
69
- type : 'metric' ,
70
- createdBy : {
71
- email : 'miahsu@sentry.io' ,
72
- name : 'Mia Hsu' ,
73
- username : 'f4ea91ef8dc34fe8a54b3732030fbf7b' ,
74
- id : '3286015' ,
75
- ip_address : '1.1.1.1' ,
76
- } ,
77
- connect : { connected : monitor2Connected , toggleConnected : setMonitor2Connected } ,
78
- } ,
79
- ] ;
80
41
81
42
useEffect ( ( ) => {
82
43
model . setValue ( 'name' , title ) ;
0 commit comments