fi
This commit is contained in:
1 parent
f8e7c95c8b
commit
1c882e0d1c
1 file changed
+4
@@ -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