Skip to content

Commit

Permalink
fix: add default param to removeStyles function
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbarion committed Jun 27, 2023
1 parent 6d81ed9 commit c4124c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/handle-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function removeStyle({
}: {
type?: string
id?: string
}) {
} = {}) {
if (type === 'core') {
// eslint-disable-next-line no-param-reassign
id = REACT_TOOLTIP_CORE_STYLES_ID
Expand Down

0 comments on commit c4124c2

Please sign in to comment.