diff --git a/frontend/src/App.js b/frontend/src/App.js index 7c8dad0..c34bdbe 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -83,6 +83,7 @@ function App() { settings={settings} pullLatestChanges={pullLatestChanges} onLinkClick={handleLinkClick} + lookupFileByName={lookupFileByName} /> diff --git a/frontend/src/components/MainContent.js b/frontend/src/components/MainContent.js index 7142c19..39e29a1 100644 --- a/frontend/src/components/MainContent.js +++ b/frontend/src/components/MainContent.js @@ -8,7 +8,6 @@ import { useToasts, Modal, Input, - Button, } from '@geist-ui/core'; import { Code, Eye } from '@geist-ui/icons'; import FileTree from './FileTree'; @@ -22,7 +21,6 @@ const MainContent = ({ files, selectedFile, hasUnsavedChanges, - error, onFileSelect, onContentChange, onSave,