refactor(wrapper card): changes to include the rfid and remove the manual trigger as no one used it

This commit is contained in:
2025-07-10 20:07:35 -05:00
parent 7497ee454c
commit 8f5e1cb094

View File

@@ -16,8 +16,7 @@ import { getOcmeInfo } from "@/utils/querys/production/getOcmeInfo";
import { useQuery } from "@tanstack/react-query"; import { useQuery } from "@tanstack/react-query";
import { format } from "date-fns"; import { format } from "date-fns";
import { Trash } from "lucide-react"; import { Trash } from "lucide-react";
import ManuallyEnterRn from "./ManuallyEnterRn"; import ManualTrigger from "../logistics/rfid/ManualTrigger";
import { Separator } from "../ui/separator";
const currentPallets = [ const currentPallets = [
{ key: "line", label: "Line" }, { key: "line", label: "Line" },
@@ -160,11 +159,12 @@ export default function WrapperManualTrigger() {
<div> <div>
<hr /> <hr />
<p className="text-center mb-3">Manual Trigger</p> {/* <p className="text-center mb-3">Manual Trigger</p>
<ManuallyEnterRn /> <ManuallyEnterRn />
<Separator className="m-1" /> <Separator className="m-1" /> */}
<div className="flex flex-row justify-between"> <div className="flex flex-row justify-between m-2">
<Button onClick={cameraTrigger}>Camera</Button> <Button onClick={cameraTrigger}>Camera</Button>
<ManualTrigger />
</div> </div>
</div> </div>
</LstCard> </LstCard>