fix: change upgrade button redirect ul, disable documentId issue

This commit is contained in:
RaktimaNXG
2024-04-01 13:27:43 +05:30
parent 7eec822a65
commit 58199a934a
2 changed files with 10 additions and 9 deletions
+3 -3
View File
@@ -292,11 +292,11 @@ function UserProfile() {
</span>{" "}
<label
className={
!isSubscribe || isEnableSubscription
? "relative inline-flex items-center mb-0 pointer-events-none opacity-50"
: `${
isSubscribe || !isEnableSubscription
? `${
editmode ? "cursor-pointer" : ""
} relative inline-flex items-center mb-0`
: "relative inline-flex items-center mb-0 pointer-events-none opacity-50"
}
>
<input
+7 -6
View File
@@ -1,16 +1,17 @@
import React from "react";
import { useNavigate } from "react-router-dom";
function Upgrade() {
const navigation = useNavigate();
return (
<sup>
<a
href="https://www.opensignlabs.com/plans-pricing"
target="_blank"
rel="noopener noreferrer"
className="text-blue-800 text-sm cursor-pointer "
<span
onClick={() => navigation("/subscription")}
className="text-blue-800 text-sm cursor-pointer hover:underline"
>
Upgrade now
</a>
</span>
</sup>
);
}