14 lines
353 B
React
14 lines
353 B
React
|
"use client";
|
||
|
|
||
|
import React, { useEffect } from "react";
|
||
|
import { useRouter } from "next/navigation";
|
||
|
|
||
|
export default function WxpayH5({ params }) {
|
||
|
const router = useRouter();
|
||
|
useEffect(() => {
|
||
|
const redirect_uri = decodeURIComponent(params.url);
|
||
|
router.replace(redirect_uri);
|
||
|
}, []);
|
||
|
return <section className="bg-white"></section>;
|
||
|
}
|