From 93f5f1595112f9ae45274f811cb17be5b40dca1f Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Fri, 9 Apr 2021 21:22:10 -0400 Subject: fix --- src/components/taggs/Tagg.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/taggs') diff --git a/src/components/taggs/Tagg.tsx b/src/components/taggs/Tagg.tsx index 5d26539b..82ee1e91 100644 --- a/src/components/taggs/Tagg.tsx +++ b/src/components/taggs/Tagg.tsx @@ -106,6 +106,9 @@ const Tagg: React.FC = ({ }; const pickTheRightRingHere = () => { + if (whiteRing && !userXId) { + return ; + } if (youMayPass) { if (whiteRing) { return ; -- cgit v1.2.3-70-g09d2 From bd8d325d661b849673a6ea25a0113c1f3db4da49 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Fri, 9 Apr 2021 21:25:46 -0400 Subject: fix --- src/components/taggs/Tagg.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/components/taggs') diff --git a/src/components/taggs/Tagg.tsx b/src/components/taggs/Tagg.tsx index 82ee1e91..94011e86 100644 --- a/src/components/taggs/Tagg.tsx +++ b/src/components/taggs/Tagg.tsx @@ -106,9 +106,6 @@ const Tagg: React.FC = ({ }; const pickTheRightRingHere = () => { - if (whiteRing && !userXId) { - return ; - } if (youMayPass) { if (whiteRing) { return ; @@ -142,7 +139,7 @@ const Tagg: React.FC = ({ return ( <> - {userXId && !isLinked ? ( + {(userXId && !isLinked) || (whiteRing && !userXId) ? ( ) : ( <> -- cgit v1.2.3-70-g09d2