X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/a88fbbc3777da2066e496e0d78e697dfac78a750..e4b54c3b5d99c99553e319ead28c3aa8dcd6eecc:/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 +));