Skip to content

Commit 1d1d395

Browse files
committed
fix: apply correct wrapper when watching data attributes
1 parent f6bbe65 commit 1d1d395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TooltipController/TooltipController.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const TooltipController = ({
8585
setTooltipOffset(value === null ? offset : Number(value))
8686
},
8787
wrapper: (value) => {
88-
setTooltipWrapper((value as WrapperType) ?? 'div')
88+
setTooltipWrapper((value as WrapperType) ?? wrapper)
8989
},
9090
events: (value) => {
9191
const parsed = value?.split(' ') as EventsType[]

0 commit comments

Comments
 (0)