Skip to content

Commit

Permalink
[WALL] sergei/feat: change closeProps to skipProps (#11497)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-deriv committed Nov 16, 2023
1 parent 5317f73 commit 71a724e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const TooltipComponent = ({
index,
isLastStep,
primaryProps,
skipProps,
step,
tooltipProps,
}: TooltipRenderProps) => {
Expand All @@ -37,7 +38,7 @@ export const TooltipComponent = ({
{step?.title as React.ReactNode}
<CloseIcon
className='wallets-tour-guide__close-icon'
onClick={closeProps.onClick as unknown as React.MouseEventHandler<SVGElement>}
onClick={skipProps.onClick as unknown as React.MouseEventHandler<SVGElement>}
/>
</div>
{<div className='wallets-tour-guide__content'>{step.content as React.ReactNode}</div>}
Expand Down

0 comments on commit 71a724e

Please sign in to comment.