File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { useUpdateBoundaryShapeMutation } from '../../api/boundaries';
11
11
import {
12
12
useBoundaryId ,
13
13
useReverseQueue ,
14
- useTrailingDebouceCallback ,
14
+ useTrailingDebounceCallback ,
15
15
} from '../../hooks' ;
16
16
import api from '../../api/api' ;
17
17
@@ -65,7 +65,7 @@ export default function useEditingPolygon() {
65
65
queryArgs : id ,
66
66
} ) ;
67
67
68
- const updatePolygonFromDrawEvent = useTrailingDebouceCallback ( {
68
+ const updatePolygonFromDrawEvent = useTrailingDebounceCallback ( {
69
69
callback : event => {
70
70
updateShape ( { id, shape : getShapeFromDrawEvent ( event ) } )
71
71
. unwrap ( )
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ export function useBoundaryId() {
117
117
return useParams ( ) . boundaryId ;
118
118
}
119
119
120
- export function useTrailingDebouceCallback ( {
120
+ export function useTrailingDebounceCallback ( {
121
121
callback,
122
122
immediateCallback,
123
123
interval,
You can’t perform that action at this time.
0 commit comments