fix(nsfw): close will trigger as if clicking no
This commit is contained in:
parent
7331866479
commit
44d7f57f0a
@ -24,7 +24,10 @@ export const NsfwAlertPopup = ({
|
||||
<AlertPopup
|
||||
header='Confirm'
|
||||
label='Are you above 18 years of age?'
|
||||
handleClose={handleClose}
|
||||
handleClose={() => {
|
||||
handleConfirm(false)
|
||||
handleClose()
|
||||
}}
|
||||
handleConfirm={(confirm: boolean) => {
|
||||
setConfirmNsfw(confirm)
|
||||
handleConfirm(confirm)
|
||||
|
Loading…
x
Reference in New Issue
Block a user