Skip to content

Commit

Permalink
fix: show current theme to copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Railly committed Aug 9, 2023
1 parent 38bd6f7 commit e25d819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/theme-customizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function CopyCodeButton() {

function CustomizerCode() {
const [config] = useConfig();
const activeTheme = themes.find((theme) => theme.name === config.theme);
const activeTheme = config;

return (
<ThemeWrapper defaultTheme="zinc" className="relative space-y-4">
Expand Down

0 comments on commit e25d819

Please sign in to comment.