Fix OfficeHome syntax error and add theme toggle to OnlyOfficeEditor header
All checks were successful
Automated Container Build / build-and-push (push) Successful in 40s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 40s
This commit is contained in:
parent
a5dc61a1b4
commit
2cd6bb7ee7
3 changed files with 30 additions and 14 deletions
|
|
@ -1901,6 +1901,8 @@ export default function FileExplorer({ onLogout }: FileExplorerProps) {
|
|||
onRename={(oldPath, newName, newPath) => {
|
||||
setEditingFile(prev => prev ? { ...prev, name: newName, path: newPath } : null);
|
||||
}}
|
||||
theme={theme as 'light' | 'dark'}
|
||||
toggleTheme={toggleTheme}
|
||||
/>
|
||||
) : (appMode === 'docs' || appMode === 'slides') && activeSection === 'files' ? (
|
||||
<OfficeHome
|
||||
|
|
|
|||
Reference in a new issue