Skip to content

Commit

Permalink
fix: Return internal_matches unsubscriber from matches readable
Browse files Browse the repository at this point in the history
  • Loading branch information
kiosion committed Mar 30, 2024
1 parent 2f933a7 commit f683a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Breakpoints.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
const fallback = $derived(typeof restProps?.default === 'function' ? restProps.default : typeof content?.default === 'function' ? content.default : undefined);
export const matches = readable<(string | number)[]>([], (set) =>
(() => (internal_matches.subscribe(set))())
internal_matches.subscribe((v) => set(v))
);
</script>

Expand Down

0 comments on commit f683a0e

Please sign in to comment.