mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-07 11:36:47 +00:00
Strict mode SwitchAccount and SwitchSubscription files (#940)
This commit is contained in:
@@ -26,7 +26,7 @@ export const SwitchAccount: FunctionComponent<Props> = ({
|
||||
data: account,
|
||||
}))}
|
||||
onChange={(_, option) => {
|
||||
setSelectedAccountName(String(option.key));
|
||||
setSelectedAccountName(String(option?.key));
|
||||
dismissMenu();
|
||||
}}
|
||||
defaultSelectedKey={selectedAccount?.name}
|
||||
|
||||
Reference in New Issue
Block a user