Skip to content

Commit

Permalink
fix(PageTitle): pointer if onClick passed only
Browse files Browse the repository at this point in the history
  • Loading branch information
awinogradov committed Apr 24, 2023
1 parent ae98de2 commit 1aacb16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PageTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ interface PageTitleProps {
}

const StyledText = styled(Text)`
cursor: pointer;
transition: color 200ms ease-in-out;
${({ onClick }) =>
onClick &&
`
cursor: pointer;
:hover {
color: ${gray7};
}
Expand Down

0 comments on commit 1aacb16

Please sign in to comment.