Skip to content

Commit

Permalink
fix: remove upgrade button (#2332)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Nov 14, 2023
1 parent 682def6 commit 4b1da4e
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import clsx from 'clsx';
import filesz from 'filesize';
import { useMemo, useEffect, useState, useRef } from 'react';
import Link from 'next/link';

import { useUser } from 'components/contexts/userContext';
import { elementIsInViewport, formatAsStorageAmount } from 'lib/utils';
Expand Down Expand Up @@ -91,11 +90,6 @@ const StorageManager = ({ className = '', content }) => {

return (
<div ref={storageManagerRef} className={clsx('section storage-manager-container', className)}>
<Link href={'account/payment'} passHref>
<a href={'account/payment'} className="storage-manager-payment-link">
{currentPlan?.isPreferred ? 'View your plan details here.' : 'Want more storage? Upgrade your plan here!'}
</a>
</Link>
<h6>Your Plan: {currentPlan?.label}</h6>
<div className="storage-manager-space">
<div className="storage-manager-used">
Expand Down

0 comments on commit 4b1da4e

Please sign in to comment.