fix: change costomize upgrade message

This commit is contained in:
RaktimaNXG
2024-04-08 19:39:57 +05:30
parent 4d561ca19e
commit 04e9d13206
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1642,7 +1642,7 @@ function PlaceHolderSign() {
</span>
{!isSubscribe && isEnableSubscription && (
<Upgrade />
<Upgrade message="Upgrade to customize Email" />
)}
</div>
</>
+2 -2
View File
@@ -1,7 +1,7 @@
import React from "react";
import { useNavigate } from "react-router-dom";
function Upgrade() {
function Upgrade({ message }) {
const navigation = useNavigate();
return (
@@ -10,7 +10,7 @@ function Upgrade() {
onClick={() => navigation("/subscription")}
className="text-blue-800 text-sm cursor-pointer hover:underline"
>
Upgrade now
{message ? message : "Upgrade now"}
</span>
</sup>
);