all repos — caroster @ 3f1d061c4979b2d1ab25a487326edc78d26efe40

[Octree] Group carpool to your event https://caroster.io

small corrections
Karian Før karian.for@gmail.com
Tue, 15 Sep 2020 13:59:13 +0200
commit

3f1d061c4979b2d1ab25a487326edc78d26efe40

parent

9faf89f14884aec508f8d6684cd70ea8333d5c3d

M app/src/containers/DashboardEvents/EventCard.jsapp/src/containers/DashboardEvents/EventCard.js

@@ -15,13 +15,13 @@ <CardContent>

<Typography gutterBottom variant="h6" component="h3"> {event.name} </Typography> - <Typography variant="outlined"> + <Typography variant="overline"> {t('event.fields.starts_on')} </Typography> <Typography variant="body2" gutterBottom> {event.date || t('event.fields.empty')} </Typography> - <Typography variant="outlined">{t('event.fields.address')}</Typography> + <Typography variant="overline">{t('event.fields.address')}</Typography> <Typography variant="body2" gutterBottom> {event.address || t('event.fields.empty')} </Typography>
M app/src/containers/ErrorBoundary/LogoutAndRedirect.jsapp/src/containers/ErrorBoundary/LogoutAndRedirect.js

@@ -6,7 +6,7 @@ const LogoutAndRedirect = () => {

const {logout, token} = useAuth(); useEffect(() => { logout(); - }, []); + }, [logout]); if (token) return null; return <Redirect to="/" />; };
M app/src/containers/SignInForm/index.jsapp/src/containers/SignInForm/index.js

@@ -110,7 +110,7 @@ </Typography>

</RouterLink> </CardContent> <CardActions className={classes.actions} align="center"> - <Button id="SignInRegister" href="/register" size="small"> + <Button size="small" id="SignInRegister" href="/register"> {t('signin.register')} </Button> <Button

@@ -137,7 +137,6 @@ const useStyles = makeStyles(theme => ({

content: { display: 'flex', flexDirection: 'column', - alignItems: 'center', }, loader: { marginLeft: '14px',