From dcc57f2f6c396987ed947a44ee72621692944447 Mon Sep 17 00:00:00 2001 From: RoB Murdock Date: Tue, 15 Oct 2024 11:31:15 -0400 Subject: [PATCH] fixed broken hide logic, derp --- .../components/contribution/ContributionOverviewContent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/src/jsMain/kotlin/com/zegreatrob/coupling/client/components/contribution/ContributionOverviewContent.kt b/client/components/src/jsMain/kotlin/com/zegreatrob/coupling/client/components/contribution/ContributionOverviewContent.kt index d94adebf9..bb9af0251 100644 --- a/client/components/src/jsMain/kotlin/com/zegreatrob/coupling/client/components/contribution/ContributionOverviewContent.kt +++ b/client/components/src/jsMain/kotlin/com/zegreatrob/coupling/client/components/contribution/ContributionOverviewContent.kt @@ -51,7 +51,7 @@ val ContributionOverviewContent by nfc { (part val (menuTarget, setMenuTarget) = useState?>(null) val popperInstance = usePopper(menuTarget?.first, popperRef.current, popperOptions(arrowRef)) CouplingPopUp( - hide = menuTarget != null, + hide = menuTarget == null, popperRef = popperRef, arrowRef = arrowRef, popperInstance = popperInstance,