-
-
-
-
+ {business && (
+
+
+
+
+
+
+
+
Business
+
+ {business?.name}
+
+
-
-
Business
-
- {business?.name}
-
+ )}
+
+ {iconsList.length && (
+
+
-
- )}
+ )}
+
+ )}
- {iconsList.length && (
-
-
-
+
+ {!hasNoRegistrations && (
+
+ Show all
+
)}
-
-
-
- Show all
-
Register
diff --git a/src/domains/wallet/components/WalletRegistrations/__snapshots__/WalletRegistrations.test.tsx.snap b/src/domains/wallet/components/WalletRegistrations/__snapshots__/WalletRegistrations.test.tsx.snap
index 711d342274..f1e701b362 100644
--- a/src/domains/wallet/components/WalletRegistrations/__snapshots__/WalletRegistrations.test.tsx.snap
+++ b/src/domains/wallet/components/WalletRegistrations/__snapshots__/WalletRegistrations.test.tsx.snap
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`WalletRegistrations should render blank 1`] = `
+exports[`WalletRegistrations should render empty mode 1`] = `
- 0
+
+
+
+ Type Registrations
+
+
+ You haven't registered more than one type of registration.
+
+ Learn More
+
+
+
-
- Show all
-
Date: Mon, 29 Jun 2020 08:21:15 -0300
Subject: [PATCH 2/3] fix: toggle button in bottom sheet menu
---
.../components/WalletBottomSheetMenu/WalletBottomSheetMenu.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/domains/wallet/components/WalletBottomSheetMenu/WalletBottomSheetMenu.tsx b/src/domains/wallet/components/WalletBottomSheetMenu/WalletBottomSheetMenu.tsx
index a32744664c..2db208b5f5 100644
--- a/src/domains/wallet/components/WalletBottomSheetMenu/WalletBottomSheetMenu.tsx
+++ b/src/domains/wallet/components/WalletBottomSheetMenu/WalletBottomSheetMenu.tsx
@@ -88,6 +88,7 @@ export const WalletBottomSheetMenu = ({ walletsData, defaultIsOpen }: Props) =>
)}
setIsOpen(!isOpen)}
/>
From 8cd8df4f52d36f8d6cd5ff7f70bb63f28e6fd59b Mon Sep 17 00:00:00 2001
From: luciorubeens
Date: Mon, 29 Jun 2020 11:30:46 +0000
Subject: [PATCH 3/3] style: resolve style guide violations
---
.../components/WalletRegistrations/WalletRegistrations.tsx | 2 +-
.../__snapshots__/WalletRegistrations.test.tsx.snap | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/domains/wallet/components/WalletRegistrations/WalletRegistrations.tsx b/src/domains/wallet/components/WalletRegistrations/WalletRegistrations.tsx
index a9d9a83a39..613796376d 100644
--- a/src/domains/wallet/components/WalletRegistrations/WalletRegistrations.tsx
+++ b/src/domains/wallet/components/WalletRegistrations/WalletRegistrations.tsx
@@ -100,7 +100,7 @@ export const WalletRegistrations = ({
Type Registrations
You haven't registered more than one type of registration.
-
+
Learn More
diff --git a/src/domains/wallet/components/WalletRegistrations/__snapshots__/WalletRegistrations.test.tsx.snap b/src/domains/wallet/components/WalletRegistrations/__snapshots__/WalletRegistrations.test.tsx.snap
index f1e701b362..4113bf0883 100644
--- a/src/domains/wallet/components/WalletRegistrations/__snapshots__/WalletRegistrations.test.tsx.snap
+++ b/src/domains/wallet/components/WalletRegistrations/__snapshots__/WalletRegistrations.test.tsx.snap
@@ -81,7 +81,7 @@ exports[`WalletRegistrations should render empty mode 1`] = `
>
You haven't registered more than one type of registration.
Learn More