refactor: challenge modal
This commit is contained in:
@@ -233,7 +233,17 @@ const ChallengeModal: FunctionComponent<Props> = ({
|
|||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
customHeader={<></>}
|
customHeader={<></>}
|
||||||
|
customFooter={<></>}
|
||||||
disableCustomHeader={isMobileScreen}
|
disableCustomHeader={isMobileScreen}
|
||||||
|
actions={[
|
||||||
|
{
|
||||||
|
label: 'Cancel',
|
||||||
|
onClick: cancelChallenge,
|
||||||
|
type: 'primary',
|
||||||
|
hidden: !challenge.cancelable,
|
||||||
|
mobileSlot: 'right',
|
||||||
|
},
|
||||||
|
]}
|
||||||
>
|
>
|
||||||
{challenge.cancelable && (
|
{challenge.cancelable && (
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user