Skip to content

Commit fab959f

Browse files
committed
change parent class on theme toggle components
1 parent 4b21a6a commit fab959f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/ruby_ui/theme_toggle/set_dark_mode.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module RubyUI
4-
class SetDarkMode < ThemeToggle
4+
class SetDarkMode < Base
55
def view_template(&)
66
div(**attrs, &)
77
end

app/components/ruby_ui/theme_toggle/set_light_mode.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module RubyUI
4-
class SetLightMode < ThemeToggle
4+
class SetLightMode < Base
55
def view_template(&)
66
div(**attrs, &)
77
end

0 commit comments

Comments
 (0)