Skip to content

Commit e13ba68

Browse files
natemoo-rescttcper
andauthored
Update static/app/views/detectors/edit.tsx
Co-authored-by: Scott Cooper <scttcper@gmail.com>
1 parent b687c70 commit e13ba68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/views/detectors/edit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function DetectorEdit() {
1717
const organization = useOrganization();
1818
useWorkflowEngineFeatureGate({redirect: true});
1919
const [title, setTitle] = useState(t('Edit Monitor'));
20-
const model = new FormModel();
20+
const [model] = useState(() => new FormModel());
2121

2222
return (
2323
<SentryDocumentTitle title={title} noSuffix>

0 commit comments

Comments
 (0)