formatting

This commit is contained in:
Amirhossein Mahmoodi
2024-07-11 10:57:53 +03:30
parent 15a1da557a
commit c84d253721
12 changed files with 138 additions and 101 deletions

View File

@@ -1,10 +1,7 @@
import InquiryPrivacyFencingPage from "@/components/dashboard/inquiryPrivacyFencing";
const Page = () => {
return (
<InquiryPrivacyFencingPage />
);
return <InquiryPrivacyFencingPage />;
};
export default Page;
export default Page;

View File

@@ -12,4 +12,4 @@ const Layout = ({ children }) => {
</Stack>
);
};
export default Layout;
export default Layout;

View File

@@ -1,9 +1,5 @@
const Page = () => {
return (
<>
</>
);
return <></>;
};
export default Page;

View File

@@ -1,7 +1,8 @@
import { redirect } from "next/navigation";
const prefix = process.env.NODE_ENV === "production" ? "/v3" : "";
function Page() {
redirect("/dashboard", "replace");
redirect(prefix + "/dashboard", "replace");
return null;
}