Device manager - contextual menus (#9832)

* add session count to current session contextual signout

* add contextual menu to other sessions section

* typo

* i18n

* strict
This commit is contained in:
Kerry 2022-12-29 15:08:57 +13:00 committed by GitHub
parent 2e097a00c7
commit c0ba1b8a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 106 additions and 8 deletions

View file

@ -42,6 +42,7 @@ describe("<CurrentDeviceSection />", () => {
saveDeviceName: jest.fn(),
isLoading: false,
isSigningOut: false,
otherSessionsCount: 1,
};
const getComponent = (props = {}): React.ReactElement => <CurrentDeviceSection {...defaultProps} {...props} />;