improve PostOnHover positioning logic

This commit is contained in:
plebeius.eth
2023-06-10 12:28:21 +02:00
parent bb6bb379ca
commit 023d84c350
6 changed files with 298 additions and 114 deletions
-2
View File
@@ -15,8 +15,6 @@ const StateLabel = ({ commentIndex, className }) => {
if (commentIndex === undefined) return null;
console.log(commentIndex, stateString, comment);
return (
commentIndex && stateString !== "Succeeded" ? (
(comment.state === "failed" || (stateString === undefined && !isLoading)) ? (