mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-07 02:07:40 +02:00
fix: change costomize upgrade message
This commit is contained in:
@@ -1642,7 +1642,7 @@ function PlaceHolderSign() {
|
||||
</span>
|
||||
|
||||
{!isSubscribe && isEnableSubscription && (
|
||||
<Upgrade />
|
||||
<Upgrade message="Upgrade to customize Email" />
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user