year hace 2 días
padre
commit
c3acd48904

+ 1 - 1
src/app/[locale]/(doings)/vipCharge/page.tsx

@@ -42,7 +42,7 @@ const Page = () => {
     }, [searchParams]);
 
     const getInfo = async (isClear = true) => {
-        const id = searchParams.get("activity_id");
+        const id = searchParams.get("shop_id");
         if (!id) {
             setShopInfo(null);
             return;

+ 8 - 6
src/components/Agent/index.tsx

@@ -21,9 +21,10 @@ export const AgentSuffix = ({ locale = "br" }: { locale?: string }) => {
     const tc = useTranslations();
 
     const url = useReffer({ locale });
-    const text = `🎁 Seu amigo te presenteou com 3 a 5 BRL – PEGUE AGORA! 💸 💰 Deposite 7 BRL e ganhe
-                +7 BRL de bônus! 🚀 🎁 Primeiro depósito? Multiplique seu dinheiro com 150% de bônus
-                real! 👉 Resgate agora antes que expire!`;
+    const text = `🎁 Seu amigo te presenteou com 3 a 5 BRL – PEGUE AGORA! 💸
+💰 Deposite 7 BRL e ganhe +7 BRL de bônus! 🚀 
+🎁 Primeiro depósito? Multiplique seu dinheiro com 150% de bônus real! 
+👉 Resgate agora antes que expire!`;
 
     const doCopy = () => {
         copyText(`${text} ${decodeURIComponent(url)}`);
@@ -33,9 +34,10 @@ export const AgentSuffix = ({ locale = "br" }: { locale?: string }) => {
 
     return (
         <div className={clsx("mt-[.08rem] flex w-[100%] items-stretch", styles.reffer)}>
-            <div className="flex-1 overflow-hidden whitespace-nowrap !rounded-[6px] bg-[#7a7879] px-[.1rem] py-[.06rem] text-[12px] font-[400] text-[#fff]">
-                {text}
-            </div>
+            <div
+                className="flex-1 overflow-hidden whitespace-nowrap !rounded-[6px] bg-[#7a7879] px-[.1rem] py-[.06rem] text-[12px] font-[400] text-[#fff]"
+                dangerouslySetInnerHTML={{ __html: text }}
+            ></div>
             <CustomButton
                 type="primary"
                 className="ml-[.05rem] w-[57px] !rounded-[6px] !py-[0.06rem] !text-[12px]"