Skip to content
Snippets Groups Projects
Commit f9db34a7 authored by Barnabás Czémán's avatar Barnabás Czémán
Browse files

Fix signup button

parent 5fc01c7d
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ import { ...@@ -10,6 +10,7 @@ import {
} from 'semantic-ui-react'; } from 'semantic-ui-react';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import Slider from 'react-slick'; import Slider from 'react-slick';
import { Link } from 'react-router-dom';
import './Home.css'; import './Home.css';
import KSZKbiglogo from '../images/kszk_big_logo.png'; import KSZKbiglogo from '../images/kszk_big_logo.png';
...@@ -104,7 +105,8 @@ class Home extends Component { ...@@ -104,7 +105,8 @@ class Home extends Component {
{ {
this.props.user.id ? this.props.user.id ?
<Button <Button
href='/profile' as={Link}
to='/profile'
primary primary
size='huge' size='huge'
style={{ style={{
...@@ -113,7 +115,7 @@ class Home extends Component { ...@@ -113,7 +115,7 @@ class Home extends Component {
marginBottom: '1em', marginBottom: '1em',
}} }}
> >
Profilom Jelentkezés
<Icon name='right arrow' /> <Icon name='right arrow' />
</Button> </Button>
: :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment