From 2b64cf041d0ecf9061aad6ef99c648ece7713abe Mon Sep 17 00:00:00 2001 From: amass01 Date: Thu, 8 Jun 2023 18:06:02 +0300 Subject: [PATCH] launcher: Fix typo in restart wallet modal (#3868) --- .gitignore | 1 + app/components/views/DexPage/EnablePage/EnablePage.jsx | 2 +- test/unit/components/views/DexPage/DexPage.spec.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c9664f7936..c0bb7983b9 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ coverage/ .yarncache/ deps-graphs modules/dex/libdexc/libdexc +.idea diff --git a/app/components/views/DexPage/EnablePage/EnablePage.jsx b/app/components/views/DexPage/EnablePage/EnablePage.jsx index 1ee0b31f46..9f4762cba3 100644 --- a/app/components/views/DexPage/EnablePage/EnablePage.jsx +++ b/app/components/views/DexPage/EnablePage/EnablePage.jsx @@ -17,7 +17,7 @@ const EnablePage = () => { + } buttonLabel={} modalContent={ diff --git a/test/unit/components/views/DexPage/DexPage.spec.js b/test/unit/components/views/DexPage/DexPage.spec.js index f4bfc94afd..831848cb84 100644 --- a/test/unit/components/views/DexPage/DexPage.spec.js +++ b/test/unit/components/views/DexPage/DexPage.spec.js @@ -138,7 +138,7 @@ test("enable dex view", () => { const enableBtn = getEnableBtn(); user.click(enableBtn); - expect(screen.getByText("Wallet reset required")).toBeInTheDocument(); + expect(screen.getByText("Wallet restart required")).toBeInTheDocument(); // cancel first user.click(getCancelBtn());