mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
try to fix reactivity
This commit is contained in:
parent
5a4328ef9e
commit
70d50f7b20
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@
|
|||
import { writable } from "svelte/store";
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
$: _selectedValues = writable(selectedValues);
|
||||
const _selectedValues = writable([]);
|
||||
|
||||
$: _selectedValues.set(selectedValues);
|
||||
|
||||
setContext("SelectableTileGroup", {
|
||||
_light: light,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue