We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b687c70 commit e13ba68Copy full SHA for e13ba68
static/app/views/detectors/edit.tsx
@@ -17,7 +17,7 @@ export default function DetectorEdit() {
17
const organization = useOrganization();
18
useWorkflowEngineFeatureGate({redirect: true});
19
const [title, setTitle] = useState(t('Edit Monitor'));
20
- const model = new FormModel();
+ const [model] = useState(() => new FormModel());
21
22
return (
23
<SentryDocumentTitle title={title} noSuffix>
0 commit comments