mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 15:06:55 +00:00
Address lint error
This commit is contained in:
parent
28d8216b32
commit
602a697fe9
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user