bbovenzi commented on code in PR #34904: URL: https://github.com/apache/airflow/pull/34904#discussion_r1371812335
########## airflow/www/static/js/components/Clipboard.tsx: ########## @@ -43,9 +43,13 @@ export const ClipboardButton = forwardRef( }, ref ) => { - const { hasCopied, onCopy } = useClipboard(value); + const { setValue, hasCopied, onCopy } = useClipboard(value); const containerRef = useContainerRef(); + useEffect(() => { + setValue(value); Review Comment: Can we wrap this in an if statement and only setValue if it is different from the current clipboard value? -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org