We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9a30a1 commit 2017090Copy full SHA for 2017090
packages/svelte-table/src/index.ts
@@ -53,6 +53,7 @@ export function flexRender(component: any, props: any) {
53
54
if (typeof component === 'function') {
55
const result = component(props)
56
+ if (result === null || result === undefined) return null
57
58
if (isSvelteComponent(result)) {
59
return renderComponent(result, props)
0 commit comments