mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36: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";
|
import { writable } from "svelte/store";
|
||||||
|
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
$: _selectedValues = writable(selectedValues);
|
const _selectedValues = writable([]);
|
||||||
|
|
||||||
|
$: _selectedValues.set(selectedValues);
|
||||||
|
|
||||||
setContext("SelectableTileGroup", {
|
setContext("SelectableTileGroup", {
|
||||||
_light: light,
|
_light: light,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue