diff --git a/src/app/components/Icon/Icon.tsx b/src/app/components/Icon/Icon.tsx index 2bec3d2be3..2c69ed6f00 100644 --- a/src/app/components/Icon/Icon.tsx +++ b/src/app/components/Icon/Icon.tsx @@ -70,7 +70,7 @@ export const ThemeIcon = ({ ...properties }: ThemeIconProperties): JSX.Element => { const { isDarkMode } = useTheme(); - + let icon = isDarkMode ? darkIcon : lightIcon; if (greenDarkIcon && greenLightIcon) { diff --git a/src/domains/transaction/components/MultiSignatureRegistrationForm/ReviewStep.tsx b/src/domains/transaction/components/MultiSignatureRegistrationForm/ReviewStep.tsx index eef29a3d9c..d416f799ce 100644 --- a/src/domains/transaction/components/MultiSignatureRegistrationForm/ReviewStep.tsx +++ b/src/domains/transaction/components/MultiSignatureRegistrationForm/ReviewStep.tsx @@ -44,7 +44,13 @@ export const ReviewStep = ({ title={t("TRANSACTION.REVIEW_STEP.TITLE")} subtitle={t("TRANSACTION.REVIEW_STEP.DESCRIPTION")} titleIcon={ - + } /> diff --git a/src/domains/transaction/validations/SendTransfer.test.tsx b/src/domains/transaction/validations/SendTransfer.test.tsx index 398f61fda5..2618d1ba36 100644 --- a/src/domains/transaction/validations/SendTransfer.test.tsx +++ b/src/domains/transaction/validations/SendTransfer.test.tsx @@ -37,7 +37,7 @@ describe("Send transfer validations", () => { const invalidAddress = sendTransfer(translationMock).recipientAddress(profile, network, [], false); await expect(invalidAddress.validate.valid("invalid")).resolves.toBe("COMMON.VALIDATION.RECIPIENT_INVALID"); - }) + }); it("amount", () => { const noBalance = sendTransfer(translationMock).amount(network, BigNumber.ZERO, [], false); @@ -52,10 +52,10 @@ describe("Send transfer validations", () => { expect(amountTooSmall.validate.valid(0)).toBe("TRANSACTION.VALIDATION.AMOUNT_BELOW_MINIMUM"); }); - it('memo', () => { + it("memo", () => { const memo = sendTransfer(translationMock).memo(); expect(memo.maxLength.value).toBe(255); expect(memo.maxLength.message).toBe("COMMON.VALIDATION.MAX_LENGTH"); - }) + }); }); diff --git a/src/utils/theme.ts b/src/utils/theme.ts index e8d07e9d08..42b9bb41ce 100644 --- a/src/utils/theme.ts +++ b/src/utils/theme.ts @@ -1,6 +1,6 @@ const shouldUseDarkColors = () => document.querySelector("html")?.classList.contains("dark"); -const getCurrentAccentColor = (): 'green' | 'navy' => { +const getCurrentAccentColor = (): "green" | "navy" => { if (document.body.classList.contains("blue")) { return "navy"; }