fix: correct toggle_button class attribute syntax

Fixed incorrect class attribute syntax in toggle_button that was using tuple notation (hidden: @slideover_open) instead of proper conditional.
This commit is contained in:
Graham McIntire 2025-10-12 12:09:43 -05:00
parent 533061c261
commit 1a92b89ca8
No known key found for this signature in database

View file

@ -1049,7 +1049,7 @@ defmodule AprsmeWeb.MapLive.Index do
class={[
"fixed right-4 top-4 z-40 bg-white rounded-lg shadow-lg p-3",
"hover:bg-gray-50 transition-colors lg:hidden",
hidden: @slideover_open
@slideover_open && "hidden"
]}
>
<.icon name="hero-bars-3" class="w-6 h-6 text-gray-700" />