Fix table slots providing global context rather than local context

This commit is contained in:
Andrew Kingston 2024-02-06 09:18:55 +00:00
parent d704f95bd4
commit 88c0df9f37
1 changed files with 2 additions and 2 deletions

View File

@ -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>