Fix for optional callback function
This commit is contained in:
parent
b8ef27f072
commit
5f9e18e0c0
|
|
@ -389,7 +389,9 @@ export function ApiForm({
|
|||
size="xl"
|
||||
radius="sm"
|
||||
opened={opened}
|
||||
onClose={onClose}
|
||||
onClose={() => {
|
||||
onClose ? onClose() : null;
|
||||
}}
|
||||
title={title}
|
||||
>
|
||||
<Stack>
|
||||
|
|
|
|||
Loading…
Reference in New Issue