tsc
This commit is contained in:
parent
c8205b8475
commit
c9f94f062b
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ export default function DialogBoxV2({
|
|||
size="large"
|
||||
color={attributes.proceed?.variant}
|
||||
onClick={async () => {
|
||||
await attributes.proceed.action(setLoading);
|
||||
await attributes.proceed?.action(setLoading);
|
||||
|
||||
onClose();
|
||||
}}
|
||||
|
@ -110,7 +110,7 @@ export default function DialogBoxV2({
|
|||
size="large"
|
||||
color={attributes.close?.variant ?? "secondary"}
|
||||
onClick={() => {
|
||||
attributes.close.action &&
|
||||
attributes.close?.action &&
|
||||
attributes.close?.action();
|
||||
onClose();
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue