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"
radius="sm"
opened={opened}
onClose={onClose}
onClose={() => {
onClose ? onClose() : null;
}}
title={title}
>
<Stack>