Fix for optional callback function

This commit is contained in:
Oliver Walters
2023-07-27 18:59:05 +10:00
parent b8ef27f072
commit 5f9e18e0c0

View File

@ -389,7 +389,9 @@ export function ApiForm({
size="xl" size="xl"
radius="sm" radius="sm"
opened={opened} opened={opened}
onClose={onClose} onClose={() => {
onClose ? onClose() : null;
}}
title={title} title={title}
> >
<Stack> <Stack>