X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/6acebd8c63b066f86aa81fce3b8937609778031f..6fbf6c43b2f7e1f8770cbcd245cbffc7ce0715be:/src/views/login-panel/login-panel.tsx diff --git a/src/views/login-panel/login-panel.tsx b/src/views/login-panel/login-panel.tsx index 377c58bb..6a9210ac 100644 --- a/src/views/login-panel/login-panel.tsx +++ b/src/views/login-panel/login-panel.tsx @@ -3,7 +3,6 @@ // SPDX-License-Identifier: AGPL-3.0 import * as React from 'react'; -import { compose } from 'redux'; import { connect, DispatchProp } from 'react-redux'; import { Grid, Typography, Button } from '@material-ui/core'; import { StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core/styles'; @@ -51,17 +50,15 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ type LoginPanelProps = DispatchProp & WithStyles; -export const LoginPanel = compose( - withStyles(styles), - connect() -)(({ classes, dispatch }: LoginPanelProps) => +export const LoginPanel = withStyles(styles)(connect()( + ({ classes, dispatch }: LoginPanelProps) => - Welcome to the Arvados Wrokbench + Welcome to the Arvados Workbench - The "Log in" button below will show you a Google sign-in page. + The "Log in" button below will show you a Google sign-in page. After you assure Google that you want to log in here with your Google account, you will be redirected back here to Arvados Workbench. @@ -80,4 +77,4 @@ export const LoginPanel = compose( -); \ No newline at end of file +));