refactor: search params in reg
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
import { useEffect } from "react";
|
||||
import { Outlet } from "react-router-dom";
|
||||
|
||||
export default function RegContainer() {
|
||||
useEffect(() => {
|
||||
// 重新组织url
|
||||
location.href = `${location.origin}${location.hash}${location.search}`;
|
||||
}, [location]);
|
||||
|
||||
return (
|
||||
<div className="flex-center h-screen overflow-x-hidden overflow-y-auto dark:bg-gray-700">
|
||||
|
||||
Reference in New Issue
Block a user