fix: Make the current challenge button do something
This commit is contained in:
committed by
mrugesh mohapatra
parent
7d7b2e049f
commit
1de757e1be
@ -8,6 +8,7 @@ import { Grid, Row, Col, Button } from '@freecodecamp/react-bootstrap';
|
|||||||
import Helmet from 'react-helmet';
|
import Helmet from 'react-helmet';
|
||||||
|
|
||||||
import { Loader, Spacer } from '../components/helpers';
|
import { Loader, Spacer } from '../components/helpers';
|
||||||
|
import CurrentChallengeLink from '../components/helpers/CurrentChallengeLink';
|
||||||
import Layout from '../components/layouts/Default';
|
import Layout from '../components/layouts/Default';
|
||||||
import {
|
import {
|
||||||
userSelector,
|
userSelector,
|
||||||
@ -141,9 +142,11 @@ function Welcome({
|
|||||||
<Spacer />
|
<Spacer />
|
||||||
<Row>
|
<Row>
|
||||||
<Col sm={8} smOffset={2} xs={12}>
|
<Col sm={8} smOffset={2} xs={12}>
|
||||||
|
<CurrentChallengeLink>
|
||||||
<Button block={true} bsStyle='primary' className='btn-cta-big'>
|
<Button block={true} bsStyle='primary' className='btn-cta-big'>
|
||||||
Go to my next challenge
|
Go to my next challenge
|
||||||
</Button>
|
</Button>
|
||||||
|
</CurrentChallengeLink>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<Spacer size={4} />
|
<Spacer size={4} />
|
||||||
|
Reference in New Issue
Block a user