17690: Fix stray accidental copy+paste
authorStephen Smith <stephen@curii.com>
Mon, 2 Aug 2021 19:26:05 +0000 (15:26 -0400)
committerStephen Smith <stephen@curii.com>
Mon, 2 Aug 2021 19:26:05 +0000 (15:26 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/views/ssh-key-panel/ssh-key-panel.tsx

index f2b7dd3c43793b8b3f73523342e426cff2f6af64..0c86b3640d9ea18f9890ff2ef1bb7270fa8afb23 100644 (file)
@@ -10,7 +10,7 @@ import { openSshKeyContextMenu } from 'store/context-menu/context-menu-actions';
 import { SshKeyPanelRoot, SshKeyPanelRootDataProps, SshKeyPanelRootActionProps } from 'views/ssh-key-panel/ssh-key-panel-root';
 
 const mapStateToProps = (state: RootState): SshKeyPanelRootDataProps => {
 import { SshKeyPanelRoot, SshKeyPanelRootDataProps, SshKeyPanelRootActionProps } from 'views/ssh-key-panel/ssh-key-panel-root';
 
 const mapStateToProps = (state: RootState): SshKeyPanelRootDataProps => {
-    const sshKeys = state.auth.sshKeys = state.auth.sshKeys.filter((key) => {
+    const sshKeys = state.auth.sshKeys.filter((key) => {
       return key.authorizedUserUuid == state.auth.user.uuid;
     });
 
       return key.authorizedUserUuid == state.auth.user.uuid;
     });