Skip to content

Commit

Permalink
Merge pull request binary-com#26 from niloo-fs/niloofar/77512/respons…
Browse files Browse the repository at this point in the history
…ible-ts-errors

Niloofar / Bug - Fix Typescript errors in responsible
  • Loading branch information
niloofar-deriv committed Dec 3, 2022
2 parents e9c3aa6 + 8e7d809 commit f1a7c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/responsible/_trading-responsibly.tsx
Expand Up @@ -15,7 +15,7 @@ const IcInfo = styled.img`
margin-left: 1.5rem;
`

const Card = styled(Flex)`
const Card = styled(Flex)<{ padding?: string }>`
${CardStyle}
width: ${(props) => (props.width ? props.width : 'auto')};
min-width: 38.4rem;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/responsible/index.tsx
Expand Up @@ -17,7 +17,7 @@ const TradingLimits = Loadable(() => import('./_trading-limits'))
const NeedHelp = Loadable(() => import('./_need-help'))
const RoleBanner = Loadable(() => import('./_banner'))

const Hero = styled(Flex)`
const Hero = styled(Flex)<{ background_image?: string }>`
background-image: url(${(props) => props.background_image});
background-position: center;
background-size: cover;
Expand Down

0 comments on commit f1a7c10

Please sign in to comment.