diff --git a/src/renderer/src/components/Popups/AppStorePopover.tsx b/src/renderer/src/components/Popups/AppStorePopover.tsx index 659e63694a..25e918becc 100644 --- a/src/renderer/src/components/Popups/AppStorePopover.tsx +++ b/src/renderer/src/components/Popups/AppStorePopover.tsx @@ -48,7 +48,7 @@ const AppStorePopover: FC = ({ children }) => { content={content} trigger="click" placement="bottomRight" - overlayInnerStyle={{ padding: 25 }}> + styles={{ body: { padding: 25 } }}> {children} ) @@ -59,7 +59,7 @@ const PopoverContent = styled(Scrollbar)`` const AppsContainer = styled.div` display: grid; grid-template-columns: repeat(6, minmax(90px, 1fr)); - gap: 25px; + gap: 18px; ` export default AppStorePopover diff --git a/src/renderer/src/context/SyntaxHighlighterProvider.tsx b/src/renderer/src/context/SyntaxHighlighterProvider.tsx index ba5b602e47..46c41fd1a5 100644 --- a/src/renderer/src/context/SyntaxHighlighterProvider.tsx +++ b/src/renderer/src/context/SyntaxHighlighterProvider.tsx @@ -60,7 +60,6 @@ export const SyntaxHighlighterProvider: React.FC = ({ childre if (!highlighter.getLoadedLanguages().includes(language as BundledLanguage)) { if (language in bundledLanguages || language === 'text') { await highlighter.loadLanguage(language as BundledLanguage) - console.log(`Loaded language: ${language}`) } else { return `
${escapedCode}
` } diff --git a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx index df3d4380d3..2b86aa90cb 100644 --- a/src/renderer/src/pages/home/Inputbar/Inputbar.tsx +++ b/src/renderer/src/pages/home/Inputbar/Inputbar.tsx @@ -133,7 +133,7 @@ const Inputbar: FC = ({ assistant: _assistant, setActiveTopic }) => { setTimeout(() => resizeTextArea(), 0) setExpend(false) - }, [generating, inputEmpty, text, assistant.id, assistant.topics, selectedKnowledgeBase, files]) + }, [inputEmpty, text, assistant.id, assistant.topics, selectedKnowledgeBase, files]) const translate = async () => { if (isTranslating) {