more
This commit is contained in:
@@ -24,6 +24,12 @@ const AccountPage = () => {
|
||||
? process.env.REACT_APP_API_DEV
|
||||
: process.env.REACT_APP_API_PROD;
|
||||
|
||||
const handleConfirmUpgrade = () => {
|
||||
const isUpgrade = true;
|
||||
const currentPlan = group?.subscriptionPlan;
|
||||
navigate(`/signup/${isUpgrade}/${currentPlan}`);
|
||||
};
|
||||
|
||||
function getDocumentsCount() {
|
||||
if (!appUserId) {
|
||||
return;
|
||||
@@ -102,6 +108,7 @@ const AccountPage = () => {
|
||||
<Button
|
||||
className="primary-button upgrade-account"
|
||||
labelText="Upgrade to add more"
|
||||
onClick={handleConfirmUpgrade}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user