bbovenzi commented on code in PR #40640:
URL: https://github.com/apache/airflow/pull/40640#discussion_r1671500094


##########
airflow/www/static/js/dag/details/taskInstance/Xcom/XcomEntry.tsx:
##########
@@ -66,6 +67,10 @@ const XcomEntry = ({
         No value found for XCom key
       </Alert>
     );
+  } else {
+    const xcomStr = xcom?.value as string;
+    const xcomStrR = xcomStr.replace(/'/g, '"');

Review Comment:
   Also, not a big fan of these two variable names.
   
   How about `const xcomString = xcom?.value ? xcom.value.replace(/'/g, '"') : 
undefined;`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to