mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 05:18:48 +01:00
Prettier
This commit is contained in:
@@ -68,9 +68,7 @@ export default ((userOpts?: Partial<Options>) => {
|
||||
|
||||
// Get all folders of tree. Initialize with collapsed state
|
||||
// Stringify to pass json tree as data attribute ([data-tree])
|
||||
const folders = fileTree.getFolderPaths(
|
||||
opts.folderDefaultState === "collapsed"
|
||||
)
|
||||
const folders = fileTree.getFolderPaths(opts.folderDefaultState === "collapsed")
|
||||
jsonTree = JSON.stringify(folders)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user