mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-11 00:28:59 +08:00
chore: function is made async
This commit is contained in:
parent
191925b418
commit
08f24fbdff
@ -18,7 +18,7 @@ const TagsKey = (props: TagsKeysProps): JSX.Element => {
|
|||||||
|
|
||||||
const [options, setOptions] = useState<AutoCompleteProps['options']>([]);
|
const [options, setOptions] = useState<AutoCompleteProps['options']>([]);
|
||||||
|
|
||||||
const onSearchHandler = useCallback(() => {
|
const onSearchHandler = useCallback(async () => {
|
||||||
try {
|
try {
|
||||||
setSelectLoading(true);
|
setSelectLoading(true);
|
||||||
const response = await getTagFilters({
|
const response = await getTagFilters({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user