fix unlock reward button on rewards page
This commit is contained in:
parent
0ad01e2444
commit
1a3eb38e0b
1 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
// @flow
|
||||
import * as PAGES from 'constants/pages';
|
||||
import React from 'react';
|
||||
import CreditAmount from 'component/common/credit-amount';
|
||||
import Button from 'component/button';
|
||||
|
@ -27,7 +28,13 @@ function RewardAuthIntro(props: Props) {
|
|||
and security updates.
|
||||
</I18nMessage>
|
||||
}
|
||||
actions={<Button button="primary" navigate="/$/rewards" label={__('Unlock Rewards')} />}
|
||||
actions={
|
||||
<Button
|
||||
button="primary"
|
||||
navigate={`/$/${PAGES.AUTH}?redirect=/$/${PAGES.REWARDS}`}
|
||||
label={__('Unlock Rewards')}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue