diff --git a/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts b/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts index af447e66..c9a9902a 100644 --- a/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts +++ b/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts @@ -2,12 +2,7 @@ import { showErrorToast } from "@repo/rdx-ui/helpers"; import * as React from "react"; import type { ProformaSummaryData } from "../../types"; -import { useChangeProformaStatus } from "../hooks/use-change-proforma-status"; - -type ProformasType = { - id: string; - status: string; -}[]; +import { useChangeProformaStatus } from "../hooks/use-change-status"; interface ChangeStatusDialogState { open: boolean; diff --git a/modules/customer-invoices/src/web/proformas/change-status/hooks/index.ts b/modules/customer-invoices/src/web/proformas/change-status/hooks/index.ts index 3e7d18eb..5f4e2a47 100644 --- a/modules/customer-invoices/src/web/proformas/change-status/hooks/index.ts +++ b/modules/customer-invoices/src/web/proformas/change-status/hooks/index.ts @@ -1 +1 @@ -export * from "./use-change-proforma-status"; +export * from "./use-change-status"; diff --git a/modules/customer-invoices/src/web/proformas/change-status/hooks/use-change-proforma-status.ts b/modules/customer-invoices/src/web/proformas/change-status/hooks/use-change-status.ts similarity index 100% rename from modules/customer-invoices/src/web/proformas/change-status/hooks/use-change-proforma-status.ts rename to modules/customer-invoices/src/web/proformas/change-status/hooks/use-change-status.ts