From 1aacb16b1b0fa658746301fd5b0307f8b906617e Mon Sep 17 00:00:00 2001 From: Tony Vi Date: Mon, 24 Apr 2023 17:42:53 +0300 Subject: [PATCH] fix(PageTitle): pointer if onClick passed only --- src/components/PageTitle.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PageTitle.tsx b/src/components/PageTitle.tsx index fb02d3565..debd8a764 100644 --- a/src/components/PageTitle.tsx +++ b/src/components/PageTitle.tsx @@ -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}; }