fi
This commit is contained in:
@@ -34,6 +34,10 @@ const addItem = async () => {
|
|||||||
const type = await getMarketType(item.value.split('\t')[0]);
|
const type = await getMarketType(item.value.split('\t')[0]);
|
||||||
|
|
||||||
item.value = "";
|
item.value = "";
|
||||||
|
if (!type) {
|
||||||
|
// TODO: Show error
|
||||||
|
return;
|
||||||
|
}
|
||||||
addOrRelaod(type);
|
addOrRelaod(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user