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
e6fdda5220
commit
8431b58891
1 changed files with 1 additions and 3 deletions
|
@ -34,9 +34,7 @@
|
||||||
|
|
||||||
const { update, selectedValues, _light } = getContext("SelectableTileGroup");
|
const { update, selectedValues, _light } = getContext("SelectableTileGroup");
|
||||||
|
|
||||||
if (selected) {
|
$: update({ value, selected });
|
||||||
update({ value, selected });
|
|
||||||
}
|
|
||||||
|
|
||||||
light = light || _light;
|
light = light || _light;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue