From 07a2a47f8992b9913d8ecfe91fd3f123b2ad81bf Mon Sep 17 00:00:00 2001 From: Ape Fede Date: Tue, 22 Nov 2022 12:42:20 -0300 Subject: [PATCH] chore: Remove span tag in Network modal --- src/__tests__/widgets/menu.test.tsx | 10 ++-------- src/widgets/Navbar/NetworkButton.tsx | 3 +-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/__tests__/widgets/menu.test.tsx b/src/__tests__/widgets/menu.test.tsx index fba237f0..a05d2575 100644 --- a/src/__tests__/widgets/menu.test.tsx +++ b/src/__tests__/widgets/menu.test.tsx @@ -526,10 +526,7 @@ it("renders correctly", () => { /> - BNB @@ -881,10 +878,7 @@ it("renders correctly", () => { /> - BNB diff --git a/src/widgets/Navbar/NetworkButton.tsx b/src/widgets/Navbar/NetworkButton.tsx index 6a4a1241..68319d2e 100644 --- a/src/widgets/Navbar/NetworkButton.tsx +++ b/src/widgets/Navbar/NetworkButton.tsx @@ -27,8 +27,7 @@ const NetworkButton: React.FC = ({ chainId, switchNetwork, t, supportedCh }} > - - + {NETWORK_LABEL[chainId]}