aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-09 21:25:46 -0400
committerIvan Chen <ivan@tagg.id>2021-04-09 21:25:46 -0400
commitbd8d325d661b849673a6ea25a0113c1f3db4da49 (patch)
tree3f9f40434212b2acfc21e8899ee0a5331ff41896
parent93f5f1595112f9ae45274f811cb17be5b40dca1f (diff)
fix
-rw-r--r--src/components/taggs/Tagg.tsx5
1 files changed, 1 insertions, 4 deletions
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<TaggProps> = ({
};
const pickTheRightRingHere = () => {
- if (whiteRing && !userXId) {
- return <WhiteRing width={TAGG_RING_DIM} height={TAGG_RING_DIM} />;
- }
if (youMayPass) {
if (whiteRing) {
return <WhiteRing width={TAGG_RING_DIM} height={TAGG_RING_DIM} />;
@@ -142,7 +139,7 @@ const Tagg: React.FC<TaggProps> = ({
return (
<>
- {userXId && !isLinked ? (
+ {(userXId && !isLinked) || (whiteRing && !userXId) ? (
<Fragment />
) : (
<>