diff options
author | Anton Tananaev <anton@traccar.org> | 2024-05-25 19:49:51 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-05-25 19:49:51 -0700 |
commit | 94428cc0cf7e1068d970e680a19a6e447fe6b87d (patch) | |
tree | 598855199d25fa34d7f02b803d3554aa159c6f34 /src/common/components/SelectField.jsx | |
parent | daf805af4cd47f47ee55ed11aa8ce747faeb34a6 (diff) | |
download | trackermap-web-94428cc0cf7e1068d970e680a19a6e447fe6b87d.tar.gz trackermap-web-94428cc0cf7e1068d970e680a19a6e447fe6b87d.tar.bz2 trackermap-web-94428cc0cf7e1068d970e680a19a6e447fe6b87d.zip |
Fix lint issues
Diffstat (limited to 'src/common/components/SelectField.jsx')
-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) { |