fix(shareModal/index.tsx): improve error message by specifying whether it's an error sharing a component or a flow
This commit is contained in:
parent
36bcea49a4
commit
59da74baa9
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ export default function ShareModal({
|
|||
},
|
||||
(err) => {
|
||||
setErrorData({
|
||||
title: "Error sharing flow",
|
||||
title: "Error sharing " + is_component ? "component" : "flow",
|
||||
list: [err["response"]["data"]["detail"]],
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue