mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 10:18:16 +00:00
Fix: Format entire frontend properly
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
import { useEffect } from "react";
|
||||
import { useRouter } from "next/router"
|
||||
import { useRouter } from "next/router";
|
||||
|
||||
export default function SecretScanning() {
|
||||
const router = useRouter();
|
||||
|
||||
useEffect(()=>{
|
||||
router.push(`${router.asPath.split("secret-scanning")[0]}/org/${localStorage.getItem("orgData.id")}/secret-scanning${router.asPath.split("secret-scanning")[1]}`)
|
||||
}, [])
|
||||
useEffect(() => {
|
||||
router.push(
|
||||
`${router.asPath.split("secret-scanning")[0]}/org/${localStorage.getItem(
|
||||
"orgData.id"
|
||||
)}/secret-scanning${router.asPath.split("secret-scanning")[1]}`
|
||||
);
|
||||
}, []);
|
||||
|
||||
|
||||
return <div/>;
|
||||
return <div />;
|
||||
}
|
||||
|
||||
SecretScanning.requireAuth = true;
|
||||
SecretScanning.requireAuth = true;
|
||||
|
||||
Reference in New Issue
Block a user