19069: Remove references to workflow panel from various places
[arvados-workbench2.git] / src / views-components / main-app-bar / anonymous-menu.tsx
index 6f77a524cbb4cb38ed76fccde167843631ea90b7..c3eb88c1939775b33bca971e0039f6231027cdcc 100644 (file)
@@ -2,15 +2,15 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from "react";
+import React from "react";
 import { Button } from '@material-ui/core';
 import { DispatchProp, connect } from 'react-redux';
-import { login } from '~/store/auth/auth-action';
+import { login } from 'store/auth/auth-action';
 
 export const AnonymousMenu = connect()(
     ({ dispatch }: DispatchProp<any>) =>
         <Button
             color="inherit"
-            onClick={() => dispatch(login())}>
+            onClick={() => dispatch(login("", "", "", {}))}>
             Sign in
         </Button>);