Browse Source

small fix for color_mode_button (#4634)

Thomas Brandého 4 tháng trước cách đây
mục cha
commit
f69be58f59
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      reflex/components/radix/themes/color_mode.py

+ 2 - 2
reflex/components/radix/themes/color_mode.py

@@ -151,8 +151,8 @@ class ColorModeIconButton(IconButton):
                 dropdown_menu.trigger(
                     super().create(
                         ColorModeIcon.create(),
-                        **props,
-                    )
+                    ),
+                    **props,
                 ),
                 dropdown_menu.content(
                     color_mode_item("light"),