fix(companies): clear currency filter on reset all
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
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) <noreply@anthropic.com>
This commit is contained in:
@@ -104,7 +104,7 @@ export const useCompanyListPresenter = () => {
|
|||||||
name: "",
|
name: "",
|
||||||
email: "",
|
email: "",
|
||||||
phone: "",
|
phone: "",
|
||||||
currency: undefined,
|
currency: "",
|
||||||
employee_count: "",
|
employee_count: "",
|
||||||
});
|
});
|
||||||
router.push(pathName);
|
router.push(pathName);
|
||||||
|
|||||||
Reference in New Issue
Block a user