Merge branch 'feature/recurring-tasks' of https://github.com/Worklenz/worklenz into feature/project-finance
This commit is contained in:
@@ -200,7 +200,7 @@ const ProjectView = () => {
|
||||
onChange={handleTabChange}
|
||||
items={tabMenuItems}
|
||||
tabBarStyle={{ paddingInline: 0 }}
|
||||
destroyInactiveTabPane={true}
|
||||
destroyOnHidden={true}
|
||||
/>
|
||||
|
||||
{portalElements}
|
||||
|
||||
@@ -19,7 +19,7 @@ const ProjectViewTaskList = () => {
|
||||
const [searchParams, setSearchParams] = useSearchParams();
|
||||
const [initialLoadComplete, setInitialLoadComplete] = useState(false);
|
||||
|
||||
// Use separate selectors to avoid creating new objects
|
||||
// Split selectors to prevent unnecessary rerenders
|
||||
const projectId = useAppSelector(state => state.projectReducer.projectId);
|
||||
const taskGroups = useAppSelector(state => state.taskReducer.taskGroups);
|
||||
const loadingGroups = useAppSelector(state => state.taskReducer.loadingGroups);
|
||||
|
||||
Reference in New Issue
Block a user