fix modal button
This commit is contained in:
parent
1687edb945
commit
5cc04ca7a6
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ class ModalFirstReward extends React.PureComponent<Props> {
|
||||||
const { closeModal } = this.props;
|
const { closeModal } = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal type="card" isOpen contentLabel={__('Your First Reward')} onConfirmed={closeModal}>
|
<Modal type="card" isOpen contentLabel={__('Your First Reward')}>
|
||||||
<Card
|
<Card
|
||||||
title={__('Your First Reward')}
|
title={__('Your First Reward')}
|
||||||
subtitle={__('You just earned your first reward!')}
|
subtitle={__('You just earned your first reward!')}
|
||||||
|
@ -28,7 +28,7 @@ class ModalFirstReward extends React.PureComponent<Props> {
|
||||||
<p>{__('No need to understand it all just yet! Try watching or publishing something next.')}</p>
|
<p>{__('No need to understand it all just yet! Try watching or publishing something next.')}</p>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
}
|
}
|
||||||
actions={<Button button="primary" label={__('You Got It Dude')} />}
|
actions={<Button button="primary" onClick={closeModal} label={__('You Got It Dude')} />}
|
||||||
/>
|
/>
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue