Skip to content

Commit

Permalink
fix: plus entrypoint overlapping with search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ilasw committed Jan 23, 2025
1 parent 56ecd9a commit 037b677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/shared/src/components/UpgradeToPlus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ export const UpgradeToPlus = ({
...attrs
}: Props): ReactElement => {
const { isLoggedIn, showLogin } = useAuthContext();
const isMobile = useViewSize(ViewSize.MobileL);
const isLaptop = useViewSize(ViewSize.LaptopXL);
const { isPlus, logSubscriptionEvent } = usePlusSubscription();

const content = isMobile ? 'Upgrade' : 'Upgrade to plus';
const content = isLaptop ? 'Upgrade to Plus' : 'Upgrade';

const onClick = useCallback(
(e: React.MouseEvent) => {
Expand Down

0 comments on commit 037b677

Please sign in to comment.