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 89a7d15 commit 9212cbbCopy full SHA for 9212cbb
root/static/scripts/area/components/AreaEditForm.js
@@ -208,9 +208,9 @@ component AreaEditForm(
208
dispatch({type: 'set-type', type_id: event.currentTarget.value});
209
}, [dispatch]);
210
211
- function handleTypeFocus() {
+ const handleTypeFocus = React.useCallback(() => {
212
dispatch({type: 'toggle-type-bubble'});
213
- }
+ }, [dispatch]);
214
215
const handleIso3166Update = React.useCallback(
216
(variant: Iso3166Variant) => (action: Iso3166ActionT) => {
root/static/scripts/common/components/TypeBubble.js
@@ -8,6 +8,7 @@
8
*/
9
10
import expand2react from '../i18n/expand2react.js';
11
+
12
import Bubble from './Bubble.js';
13
14
component TypeBubble(
0 commit comments