From 615a0fda59e58dd0055c2da5594e70f7574e2881 Mon Sep 17 00:00:00 2001 From: Mohammad Khyata Date: Fri, 24 Apr 2026 12:28:30 +0300 Subject: [PATCH] fix build --- .../modules/estimates/create-invoice-from-estimate-button.tsx | 2 +- .../modules/estimates/create-job-card-from-estimate-button.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/modules/estimates/create-invoice-from-estimate-button.tsx b/apps/dashboard/modules/estimates/create-invoice-from-estimate-button.tsx index 91d629f..f873f4d 100644 --- a/apps/dashboard/modules/estimates/create-invoice-from-estimate-button.tsx +++ b/apps/dashboard/modules/estimates/create-invoice-from-estimate-button.tsx @@ -76,7 +76,7 @@ export function CreateInvoiceFromEstimateButton() { const estimateContext = useEstimate() const api = useAuthApi() - const estimateId = estimateContext?.id ?? "" + const estimateId = String(estimateContext?.id ?? "") const { data: servicesData } = useQuery({ queryKey: [ESTIMATE_ROUTES.SERVICES, estimateId, "for-invoice"], diff --git a/apps/dashboard/modules/estimates/create-job-card-from-estimate-button.tsx b/apps/dashboard/modules/estimates/create-job-card-from-estimate-button.tsx index 4eeb214..dbd38f1 100644 --- a/apps/dashboard/modules/estimates/create-job-card-from-estimate-button.tsx +++ b/apps/dashboard/modules/estimates/create-job-card-from-estimate-button.tsx @@ -16,7 +16,7 @@ export function CreateJobCardFromEstimateButton() { const api = useAuthApi() const router = useRouter() - const estimateId = estimateContext?.id ?? "" + const estimateId = String(estimateContext?.id ?? "") if (!estimateContext || !estimateId) return null