We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d024166 commit e6df563Copy full SHA for e6df563
src/hooks/useFeatureDraw.tsx
@@ -30,7 +30,6 @@ const useFeatureDraw = (props: useFeatureDrawProps) => {
30
31
const cleanup = () => {
32
if (draw.current) {
33
- // Proper cleanup sequence
34
draw.current.stop();
35
draw.current.clear();
36
draw.current = null;
@@ -70,7 +69,6 @@ const useFeatureDraw = (props: useFeatureDrawProps) => {
70
69
if (!draw.current) return;
71
72
try {
73
- // Start TerraDraw if not already started
74
if (!isDrawing) {
75
draw.current.start();
76
}
0 commit comments