From 894dfa00b04277dd122d3dd85d32b5148932708d Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 3 May 2023 11:51:30 +0200 Subject: [PATCH] added tooltips to subscriptions view --- src/components/views/Subscriptions.jsx | 46 ++++++++++++++++++-------- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/src/components/views/Subscriptions.jsx b/src/components/views/Subscriptions.jsx index ecb3f270..8a6a7456 100644 --- a/src/components/views/Subscriptions.jsx +++ b/src/components/views/Subscriptions.jsx @@ -394,7 +394,13 @@ const Subscriptions = () => {  p/ - {thread.subplebbitAddress.includes(".eth") ? thread.subplebbitAddress : thread.subplebbitAddress.slice(0, 10) + "(...)"} + {thread.subplebbitAddress.includes(".eth") ? thread.subplebbitAddress : ( + {thread.subplebbitAddress.slice(0, 10) + "(...)"} + )}    [ @@ -513,8 +519,14 @@ const Subscriptions = () => { Pending )}  p/ - - {thread.subplebbitAddress.includes(".eth") ? thread.subplebbitAddress : thread.subplebbitAddress.slice(0, 10) + "(...)"} + + {thread.subplebbitAddress.includes(".eth") ? thread.subplebbitAddress : ( + {thread.subplebbitAddress.slice(0, 10) + "(...)"} + )}   @@ -668,12 +680,16 @@ const Subscriptions = () => { p/ - - {thread.subplebbitAddress.includes(".eth") ? thread.subplebbitAddress : thread.subplebbitAddress.slice(0, 10) + "(...)"} - - + + {thread.subplebbitAddress.includes(".eth") ? thread.subplebbitAddress : ( + {thread.subplebbitAddress.slice(0, 10) + "(...)"} + )} + + {getDate(thread.timestamp)}   @@ -815,10 +831,14 @@ const Subscriptions = () => {  p/ - - {thread.subplebbitAddress.includes(".eth") ? thread.subplebbitAddress : thread.subplebbitAddress.slice(0, 10) + "(...)"} + + {thread.subplebbitAddress.includes(".eth") ? thread.subplebbitAddress : ( + {thread.subplebbitAddress.slice(0, 10) + "(...)"} + )}