diff --git a/frontend/src/components/shared/QuickAccessBar.tsx b/frontend/src/components/shared/QuickAccessBar.tsx index 2ebe45002..8bc536bdb 100644 --- a/frontend/src/components/shared/QuickAccessBar.tsx +++ b/frontend/src/components/shared/QuickAccessBar.tsx @@ -41,10 +41,10 @@ const QuickAccessBar = forwardRef((_, ref) => { // Helper function to render navigation buttons with URL support const renderNavButton = (config: ButtonConfig, index: number) => { const isActive = isNavButtonActive(config, activeButton, isFilesModalOpen, configModalOpen, selectedToolKey, leftPanelView); - + // Check if this button has URL navigation support - const navProps = config.type === 'navigation' && (config.id === 'read' || config.id === 'automate') - ? getToolNavigation(config.id) + const navProps = config.type === 'navigation' && (config.id === 'read' || config.id === 'automate') + ? getToolNavigation(config.id) : null; const handleClick = (e?: React.MouseEvent) => { @@ -59,7 +59,7 @@ const QuickAccessBar = forwardRef((_, ref) => { return (
handleClick(e), @@ -249,4 +249,6 @@ const QuickAccessBar = forwardRef((_, ref) => { ); }); +QuickAccessBar.displayName = 'QuickAccessBar'; + export default QuickAccessBar; diff --git a/frontend/src/components/shared/TextInput.tsx b/frontend/src/components/shared/TextInput.tsx index a5dd90569..63c69bb08 100644 --- a/frontend/src/components/shared/TextInput.tsx +++ b/frontend/src/components/shared/TextInput.tsx @@ -107,3 +107,5 @@ export const TextInput = forwardRef(({
); }); + +TextInput.displayName = 'TextInput';