💡 (NewFlowCardComponent, undrawCards): add console.error statements for debugging flow data
This commit is contained in:
parent
e5735fd0f4
commit
7646d49dab
2 changed files with 8 additions and 0 deletions
|
|
@ -18,7 +18,11 @@ export default function NewFlowCardComponent() {
|
|||
return (
|
||||
<Card
|
||||
onClick={() => {
|
||||
console.error("flow.data", "new flow");
|
||||
console.error("flow.data", "new flow");
|
||||
addFlow(true).then((id) => {
|
||||
console.error("flow.data", id);
|
||||
console.error("flow.data", id);
|
||||
setFolderUrl(folderId ?? "");
|
||||
navigate(`/flow/${id}${folderId ? `/folder/${folderId}` : ""}`);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -105,8 +105,12 @@ export default function UndrawCardComponent({
|
|||
return (
|
||||
<Card
|
||||
onClick={() => {
|
||||
console.error("flow.data", flow.data);
|
||||
console.error("flow.data", flow);
|
||||
|
||||
updateIds(flow.data!);
|
||||
addFlow(true, flow).then((id) => {
|
||||
console.error("flow.data", flow);
|
||||
setFolderUrl(folderId ?? "");
|
||||
navigate(`/flow/${id}${folderId ? `/folder/${folderId}` : ""}`);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue