mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
reset search when closing pane
This commit is contained in:
@@ -276,6 +276,7 @@ const Devices = () => {
|
|||||||
|
|
||||||
const resetDeviceSelect = () => {
|
const resetDeviceSelect = () => {
|
||||||
device_select.fns.onRemoveAll();
|
device_select.fns.onRemoveAll();
|
||||||
|
setSearch('');
|
||||||
};
|
};
|
||||||
|
|
||||||
const escFunction = useCallback(
|
const escFunction = useCallback(
|
||||||
|
|||||||
Reference in New Issue
Block a user