diff --git a/src/components/ExchangeRate/ExchangeRateInput.js b/src/components/ExchangeRate/ExchangeRateInput.js
index ec1209d6d..8a0b2b6fe 100644
--- a/src/components/ExchangeRate/ExchangeRateInput.js
+++ b/src/components/ExchangeRate/ExchangeRateInput.js
@@ -12,14 +12,11 @@ export function ExchangeRateInputGroup({
formGroupProps,
name,
}) {
- const fromCountryCode = 'US';
- const toCountryCode = 'LY';
-
return (
- 1 {fromCurrency} =
+ 1 {fromCurrency} =
- {toCurrency}
+ {toCurrency}
diff --git a/src/components/Forms/BlueprintFormik.js b/src/components/Forms/BlueprintFormik.js
index 5c1c049d3..dc00e8485 100644
--- a/src/components/Forms/BlueprintFormik.js
+++ b/src/components/Forms/BlueprintFormik.js
@@ -5,6 +5,7 @@ import {
Checkbox,
RadioGroup,
Switch,
+ EditableText,
} from '@blueprintjs-formik/core';
import { Select, MultiSelect } from '@blueprintjs-formik/select';
@@ -17,4 +18,5 @@ export {
Switch as FSwitch,
Select as FSelect,
MultiSelect as FMultiSelect,
+ EditableText as FEditableText,
};
diff --git a/src/components/Paper/index.js b/src/components/Paper/index.js
new file mode 100644
index 000000000..50257d591
--- /dev/null
+++ b/src/components/Paper/index.js
@@ -0,0 +1 @@
+export * from './Paper';
\ No newline at end of file
diff --git a/src/components/Tags/FlagIcon.js b/src/components/Tags/FlagIcon.js
index 5afc7162c..b90d8e1ed 100644
--- a/src/components/Tags/FlagIcon.js
+++ b/src/components/Tags/FlagIcon.js
@@ -1,7 +1,7 @@
import React from 'react';
-export const FlagIcon = ({ countryCode, className }) => {
- const source = `/icons/flags/${countryCode}.svg`;
+export const FlagIcon = ({ currencyCode, className }) => {
+ const source = `/icons/flags/${currencyCode}.svg`;
return
;
};
diff --git a/src/containers/Entries/ItemsEntriesTable.js b/src/containers/Entries/ItemsEntriesTable.js
index 71e74ef0a..8718e0fbc 100644
--- a/src/containers/Entries/ItemsEntriesTable.js
+++ b/src/containers/Entries/ItemsEntriesTable.js
@@ -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;