17782: Fixes almost all tests (4 left) mostly by fixing namespace-type imports.
[arvados-workbench2.git] / src / views-components / main-app-bar / anonymous-menu.tsx
index 15329a43e9119850a8fce69b759319c7f5f69015..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>);