mirror of
https://github.com/sp-tarkov/db-website.git
synced 2025-02-02 17:49:21 -05:00
Removed debug logs
This commit is contained in:
parent
79fda074fb
commit
ba1f2c35c8
@ -46,16 +46,12 @@ export const SearchArea: React.FC = () => {
|
||||
const handleNameInput = useCallback(async (input: string) => {
|
||||
const searchResults = await searchItem(input, preferedLocale);
|
||||
|
||||
console.log(searchResults);
|
||||
|
||||
const options = searchResults.map((res): ItemOption => ({
|
||||
id: res.item._id,
|
||||
name: res.locale.Name ?? res.item._name,
|
||||
shortName: JSON.stringify(res.locale.ShortName)
|
||||
}));
|
||||
|
||||
console.log(options);
|
||||
|
||||
setSelectOptions(options);
|
||||
}, [preferedLocale]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user