Skip to content

Commit 57c2b1b

Browse files
committed
test(theme): using functional slot
1 parent 4e11023 commit 57c2b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/__tests__/theme.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ describe('theme-provider', () => {
5050
},
5151
},
5252
slots: {
53-
default: () => h(ThemeProvider, { theme: { primary: 'rgb(0, 0, 255)' } }, h(StyledComponent)),
53+
default: () => h(ThemeProvider, { theme: { primary: 'rgb(0, 0, 255)' } }, () => h(StyledComponent)),
5454
},
5555
})
5656

0 commit comments

Comments
 (0)