delete useless files
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
import {parse} from "next-useragent";
|
||||
import FinalCreditAmountComponent from "@/components/dashboard/passenger-boss/Prints/final-credit-amount";
|
||||
|
||||
export default function FinalCreditAmount() {
|
||||
return (
|
||||
<FinalCreditAmountComponent/>
|
||||
)
|
||||
}
|
||||
|
||||
export async function getServerSideProps({req, locale}) {
|
||||
const {isBot} = parse(req.headers["user-agent"]);
|
||||
return {
|
||||
props: {
|
||||
messages: (await import(`&/locales/${locale}/app.json`)).default,
|
||||
title: "Dashboard.passenger_boss_page",
|
||||
isBot,
|
||||
locale,
|
||||
layout: {name: 'PrintLayout'}
|
||||
},
|
||||
};
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
import {parse} from "next-useragent";
|
||||
import FormAComponent from "@/components/dashboard/passenger-boss/Prints/form-a";
|
||||
|
||||
export default function FormB() {
|
||||
return (
|
||||
<FormAComponent/>
|
||||
)
|
||||
}
|
||||
|
||||
export async function getServerSideProps({req, locale}) {
|
||||
const {isBot} = parse(req.headers["user-agent"]);
|
||||
return {
|
||||
props: {
|
||||
messages: (await import(`&/locales/${locale}/app.json`)).default,
|
||||
title: "Dashboard.passenger_boss_page",
|
||||
isBot,
|
||||
locale,
|
||||
layout: {name: 'PrintLayout'}
|
||||
},
|
||||
};
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
import {parse} from "next-useragent";
|
||||
import FormBComponent from "@/components/dashboard/passenger-boss/Prints/form-b";
|
||||
|
||||
export default function FormB() {
|
||||
return (
|
||||
<FormBComponent/>
|
||||
)
|
||||
}
|
||||
|
||||
export async function getServerSideProps({req, locale}) {
|
||||
const {isBot} = parse(req.headers["user-agent"]);
|
||||
return {
|
||||
props: {
|
||||
messages: (await import(`&/locales/${locale}/app.json`)).default,
|
||||
title: "Dashboard.passenger_boss_page",
|
||||
isBot,
|
||||
locale,
|
||||
layout: {name: 'PrintLayout'}
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user