Skip to content

Commit

Permalink
fix(lint): remove shadowed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed May 26, 2020
1 parent 1f73364 commit c4579ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const RefTooltip = React.forwardRef<any, Props>((props, ref: any) => {
{
name: 'preventOverflow',
options: {
padding: props.offsetHorizontal || 14,
padding: props.offsetHorizontal || 14,
},
},
],
Expand Down Expand Up @@ -105,7 +105,7 @@ const TooltipComponent = React.forwardRef<any, Props>((props, ref) => {
{
name: 'preventOverflow',
options: {
padding: props.offsetHorizontal || 14,
padding: props.offsetHorizontal || 14,
},
},
],
Expand Down Expand Up @@ -197,7 +197,7 @@ const Tooltip = styled.div`
${(p) =>
p.shadow
? css`
box-shadow: 0px 24px 34px ${(p) => p.theme.toolipShadow};
box-shadow: 0px 24px 34px ${({ theme }) => theme.toolipShadow};
`
: ''}
Expand Down

0 comments on commit c4579ae

Please sign in to comment.