Skip to content

Commit 903e8d0

Browse files
committed
Update validation
1 parent ca937f6 commit 903e8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export function validateModal(modal: ReadyModal): never | void {
299299
validateType({
300300
name: 'loading',
301301
value: loading,
302-
type: 'object',
302+
type: 'function',
303303
optional: true
304304
})
305305

0 commit comments

Comments
 (0)