Skip to content

Commit c4124c2

Browse files
committed
fix: add default param to removeStyles function
1 parent 6d81ed9 commit c4124c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/handle-style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function removeStyle({
6767
}: {
6868
type?: string
6969
id?: string
70-
}) {
70+
} = {}) {
7171
if (type === 'core') {
7272
// eslint-disable-next-line no-param-reassign
7373
id = REACT_TOOLTIP_CORE_STYLES_ID

0 commit comments

Comments
 (0)