refactor(task-list): optimize selector usage and update component properties

- Changed `name` property in `ITaskAssignee` interface from optional to required for better type safety.
- Updated `Dropdown` component's prop from `dropdownRender` to `popupRender` for consistency.
- Renamed `destroyPopupOnHide` to `destroyOnHidden` in relevant components for clarity.
- Split combined selectors in `ProjectViewTaskList` to prevent unnecessary re-renders, enhancing performance.
This commit is contained in:
chamiakJ
2025-06-05 11:24:07 +05:30
parent bd77733935
commit 6002ab7c50
5 changed files with 19 additions and 36 deletions

View File

@@ -241,7 +241,7 @@ const TimerButton = () => {
return (
<Dropdown
dropdownRender={() => dropdownContent}
popupRender={() => dropdownContent}
trigger={['click']}
placement="bottomRight"
open={dropdownOpen}