mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix for optional callback function
This commit is contained in:
@ -389,7 +389,9 @@ export function ApiForm({
|
||||
size="xl"
|
||||
radius="sm"
|
||||
opened={opened}
|
||||
onClose={onClose}
|
||||
onClose={() => {
|
||||
onClose ? onClose() : null;
|
||||
}}
|
||||
title={title}
|
||||
>
|
||||
<Stack>
|
||||
|
Reference in New Issue
Block a user