Skip to content

chore: Dev merging in Main#448

Open
Shreyas-Microsoft wants to merge 2 commits intomainfrom
dev
Open

chore: Dev merging in Main#448
Shreyas-Microsoft wants to merge 2 commits intomainfrom
dev

Conversation

@Shreyas-Microsoft
Copy link
Collaborator

@Shreyas-Microsoft Shreyas-Microsoft commented Mar 13, 2026

Purpose

This pull request primarily focuses on cleaning up unused code and simplifying imports across multiple files. The main changes involve removing unnecessary imports, unused hooks, and redundant code, which helps improve maintainability and clarity.

Code cleanup and simplification:

  • Removed unused imports such as PayloadAction, makeStyles, useCallback, and useState from various files including Redux slices and component files. [1] [2] [3] [4] [5] [6]
  • Eliminated unused hooks and variables like useHeaderHooks, useFluent, and related destructured values in components, streamlining the code. [1] [2] [3] [4]
  • Removed unused imports and code from authentication-related files, including msalInstance, loginRequest, and useMsal.
  • Cleaned up error handling in httpUtility.ts by removing the unused isNetworkError variable.
  • Deleted unused imports such as toast and updatePanelCollapse from panel and slice files. [1] [2]

These changes collectively make the codebase easier to read and maintain by reducing clutter and focusing only on necessary dependencies.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

VishalS-Microsoft and others added 2 commits March 12, 2026 09:50
perf: Refactor imports and clean up unused variables across multiple components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants