OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
remove dangerouslySetInnerHtml (#1806)
Mike Fortman990f8b556bbf
diff --git a/frontend/components/icons/animated-processing-icon.tsx b/frontend/components/icons/animated-processing-icon.tsxindex e121bc174..ece39cef4 100644--- a/frontend/components/icons/animated-processing-icon.tsx+++ b/frontend/components/icons/animated-processing-icon.tsx@@ -60,8 +60,7 @@ const AnimatedProcessingIcon = ({{...props}><title>Animated Processing Icon</title>- {/* Inject animation styles into the SVG's shadow */}- <style dangerouslySetInnerHTML={{ __html: animationCSS }} />+ <style>{animationCSS}</style>{/* State 1 */}<g className="state-1">diff --git a/frontend/components/icons/dog-icon.tsx b/frontend/components/icons/dog-icon.tsxindex 266f824b3..946f221ac 100644--- a/frontend/components/icons/dog-icon.tsx+++ b/frontend/components/icons/dog-icon.tsx@@ -76,7 +76,7 @@ const DogIcon = ({ disabled = false, stroke, ...props }: DogIconProps) => {><title>Dog Icon</title><defs>- <style dangerouslySetInnerHTML={{ __html: animationCSS }} />+ <style>{animationCSS}</style></defs>{/* State 1 - Add 14px left padding to align with state 3 */}