diff options
-rw-r--r-- | src/common/components/SelectField.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/components/SelectField.jsx b/src/common/components/SelectField.jsx index de9dedce..629af9e1 100644 --- a/src/common/components/SelectField.jsx +++ b/src/common/components/SelectField.jsx @@ -26,7 +26,7 @@ const SelectField = ({ return option ? titleGetter(option) : emptyTitle; }; - useEffect(() => setItems(data), [data]) + useEffect(() => setItems(data), [data]); useEffectAsync(async () => { if (endpoint) { |