Remove unused Test and Test4 components
This commit is contained in:
parent
23680bb816
commit
e30cc7d7c6
2 changed files with 0 additions and 27 deletions
|
|
@ -1,21 +0,0 @@
|
||||||
import type { NextPage } from "next";
|
|
||||||
import { ReceiptGenerator } from "~/components/acquisto_receipt";
|
|
||||||
import { LoadingPage } from "~/components/loading";
|
|
||||||
import type { OrdiniOrdineId } from "~/schemas/public/Ordini";
|
|
||||||
import { api } from "~/utils/api";
|
|
||||||
|
|
||||||
const Test: NextPage = () => {
|
|
||||||
const { data } = api.servizio.getOrdineRicevutaData.useQuery({
|
|
||||||
ordineId: "9e6badb3-41e7-459f-8e00-ae57bfb86ea0" as OrdiniOrdineId, // Replace with a valid ordine ID for testing
|
|
||||||
});
|
|
||||||
if (!data) {
|
|
||||||
return <LoadingPage />;
|
|
||||||
}
|
|
||||||
return (
|
|
||||||
<div className="mx-auto p-4">
|
|
||||||
<ReceiptGenerator data={data} />
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default Test;
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
import type { NextPage } from "next";
|
|
||||||
|
|
||||||
const Test4: NextPage = () => {
|
|
||||||
return <div className="mx-auto h-full space-y-4 p-2"></div>;
|
|
||||||
};
|
|
||||||
export default Test4;
|
|
||||||
Loading…
Add table
Reference in a new issue