From 6b6dd7d2d13487176411c83f1cf76b0523425c81 Mon Sep 17 00:00:00 2001 From: AmirReza Jamali Date: Wed, 1 Jul 2026 16:03:54 +0330 Subject: [PATCH] fix(companies): clear currency filter on reset all Reset currency to an empty string instead of undefined so React Hook Form overwrites the stored value and the controlled currency Select clears. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/components/Tables/companies/useCompanyListPresenter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tables/companies/useCompanyListPresenter.ts b/src/components/Tables/companies/useCompanyListPresenter.ts index bdb885c..cf12298 100644 --- a/src/components/Tables/companies/useCompanyListPresenter.ts +++ b/src/components/Tables/companies/useCompanyListPresenter.ts @@ -104,7 +104,7 @@ export const useCompanyListPresenter = () => { name: "", email: "", phone: "", - currency: undefined, + currency: "", employee_count: "", }); router.push(pathName);