Fix table slots providing global context rather than local context
This commit is contained in:
parent
d704f95bd4
commit
88c0df9f37
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
export let row
|
export let row
|
||||||
|
|
||||||
const { Provider } = getContext("sdk")
|
const { Provider, ContextScopes } = getContext("sdk")
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Provider data={row}>
|
<Provider data={row} scope={ContextScopes.Local}>
|
||||||
<slot />
|
<slot />
|
||||||
</Provider>
|
</Provider>
|
||||||
|
|
Loading…
Reference in New Issue