Skip to content

Commit

Permalink
github_stats: update color_mode.button component
Browse files Browse the repository at this point in the history
This component no longer takes positional arguments (and the arguments that
were previously being passed were incorrect)
  • Loading branch information
masenf committed Nov 11, 2024
1 parent 41dc472 commit 470bd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-stats/github_stats/github_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def data_pretty(self) -> str:

def index() -> rx.Component:
return rx.fragment(
rx.color_mode.button(rx.color_mode.icon(), float="right"),
rx.color_mode.button(position="top-right"),
rx.vstack(
rx.heading("Github Stats", font_size="2em"),
rx.hstack(
Expand Down

0 comments on commit 470bd50

Please sign in to comment.