Skip to content

Commit 049fca7

Browse files
committed
style: improve preview text contrast by binding prose colors to theme variables
1 parent 6f84bad commit 049fca7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/sidebar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ interface FileTreeNodeProps {
7979
}
8080

8181
function FileTreeNode({ node, fileSystem, depth }: FileTreeNodeProps) {
82+
// Destructure fileSystem properties including downloadFile
8283
const { files, selectFile, activeFileId, toggleFolder, deleteNode, renameNode, createFile, createFolder, downloadFile } = fileSystem;
8384
const [isHovered, setIsHovered] = useState(false);
8485

0 commit comments

Comments
 (0)