From f17e7d2a659c43ba385fd7a2d564c98a8552781c Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Thu, 26 Oct 2023 12:15:30 +0800 Subject: [PATCH] Remove upgrade button, fix margin --- packages/web/pages/settings/account.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/web/pages/settings/account.tsx b/packages/web/pages/settings/account.tsx index a6b6f5f7d..79f8270ef 100644 --- a/packages/web/pages/settings/account.tsx +++ b/packages/web/pages/settings/account.tsx @@ -20,6 +20,8 @@ import { showErrorToast, showSuccessToast } from '../../lib/toastHelpers' import { ConfirmationModal } from '../../components/patterns/ConfirmationModal' import { ProgressBar } from '../../components/elements/ProgressBar' +const ACCOUNT_LIMIT = 50_000 + const StyledLabel = styled('label', { fontWeight: 600, fontSize: '16px', @@ -386,20 +388,22 @@ export default function Account(): JSX.Element { {!isValidating && ( <> - {`${libraryCount} of 50K library items used.`} + {`${libraryCount} of ${ACCOUNT_LIMIT} library items used.`} - - {`NOTE: this is a soft limit, if you are approaching or have exceeded this limit please contact support to have your limit raised.`} + + NOTE: this is a soft limit, if you are approaching or have + exceeded this limit please contact support to have your limit + raised. )} - + {/* */}