Skip to content

Commit

Permalink
feat: trigger image change on theme change
Browse files Browse the repository at this point in the history
  • Loading branch information
shezard committed Feb 10, 2024
1 parent 6c010bc commit 29e6d5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/components/Menu.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { currentTheme, themes } from '$lib/store';
import { currentTheme, image, themes } from '$lib/store';
import { RadioGroup, RadioItem } from '@skeletonlabs/skeleton';
let isOpen = false;
Expand All @@ -10,6 +10,7 @@
function closeMenu() {
isOpen = false;
image.next();
}
</script>

Expand Down

0 comments on commit 29e6d5f

Please sign in to comment.