We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26f4dd3 + c70aedb commit ee31e1cCopy full SHA for ee31e1c
client/packages/lowcoder/src/comps/hooks/toastComp.ts
@@ -17,7 +17,7 @@ const showNotification = (
17
level: "open" | "info" | "success" | "warning" | "error"
18
) => {
19
const text = params?.[0] as string;
20
- const options = params?.[1] as JSONObject;
+ const options = (params?.[1] as JSONObject) || {};
21
22
const { message , duration, id, placement, dismissible } = options;
23
0 commit comments