Address lint error

This commit is contained in:
Senthamil Sindhu 2024-07-01 16:16:40 -07:00
parent 28d8216b32
commit 602a697fe9

View File

@ -488,8 +488,7 @@ async function configurePortal(): Promise<Explorer> {
updateUserContext({ dataPlaneRbacEnabled });
useDataPlaneRbac.setState({ dataPlaneRbacEnabled: dataPlaneRbacEnabled });
} else {
let dataPlaneRbacEnabled;
dataPlaneRbacEnabled = account.properties.disableLocalAuth;
const dataPlaneRbacEnabled = account.properties.disableLocalAuth;
updateUserContext({ dataPlaneRbacEnabled });
useDataPlaneRbac.setState({ dataPlaneRbacEnabled: dataPlaneRbacEnabled });