Skip to content

Commit 3810549

Browse files
timwessmanclaude
andcommitted
fix: restore EditControl disabled during editor testing
A temporary "DO NOT COMMIT" hack commented out <EditControl> in HearingFormStep3 and leaked into this branch, leaving variables unused and failing lint. Restored to match main; unrelated to the CKEditor migration. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f0b98a0 commit 3810549

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/admin/HearingFormStep3.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,7 @@ const HearingFormStep3 = (props) => {
321321
)}
322322
/>
323323
<FeatureGroup ref={featureGroup}>
324-
{/* TEMP: EditControl commented out to unblock editor testing (react-leaflet-draw context bug). DO NOT COMMIT. */}
325-
{/* <EditControl
324+
<EditControl
326325
position='topleft'
327326
onCreated={onDrawCreated}
328327
onDeleted={onDrawDeleted}
@@ -331,7 +330,7 @@ const HearingFormStep3 = (props) => {
331330
featureGroup,
332331
edit: false,
333332
}}
334-
/> */}
333+
/>
335334
{getMapElement(geoJSON)}
336335
</FeatureGroup>
337336
</MapContainer>

0 commit comments

Comments
 (0)