feat(ExchangeRateInput): depend on currency code instead of country code.

This commit is contained in:
a.bouhuolia
2022-03-19 23:11:30 +02:00
parent 8e7955bc7e
commit e6d7d6aa1c
5 changed files with 8 additions and 10 deletions

View File

@@ -28,7 +28,6 @@ function ItemsEntriesTable({
defaultEntry,
errors,
onUpdateData,
linesNumber,
currencyCode,
itemType, // sellable or purchasable
landedCost = false,
@@ -95,7 +94,6 @@ function ItemsEntriesTable({
progressBarLoading={isItemFetching}
cellsLoading={isItemFetching}
cellsLoadingCoords={cellsLoading}
footer={true}
payload={{
items,
errors: errors || [],
@@ -118,7 +116,7 @@ ItemsEntriesTable.defaultProps = {
discount: '',
},
initialEntries: [],
linesNumber: 4,
linesNumber: 1,
};
export default ItemsEntriesTable;