mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-08-30 10:18:40 +01:00
Prettier 2.0 (#393)
This commit is contained in:
@@ -33,7 +33,7 @@ export function useDirectories(armToken: string): Tenant[] {
|
||||
|
||||
useEffect(() => {
|
||||
if (armToken) {
|
||||
fetchDirectories(armToken).then(response => setState(response));
|
||||
fetchDirectories(armToken).then((response) => setState(response));
|
||||
}
|
||||
}, [armToken]);
|
||||
return state || [];
|
||||
|
||||
Reference in New Issue
Block a user