mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-09-18 01:22:19 +02:00
Remove unused parameter
This commit is contained in:
parent
a1c36ec01f
commit
849e8accfc
@ -46,7 +46,7 @@ export default ((userOpts?: Partial<Options>) => {
|
||||
let jsonTree: string
|
||||
let lastBuildId: string = ""
|
||||
|
||||
function constructFileTree(allFiles: QuartzPluginData[], currentFilePath: string) {
|
||||
function constructFileTree(allFiles: QuartzPluginData[]) {
|
||||
// Construct tree from allFiles
|
||||
fileTree = new FileNode("")
|
||||
allFiles.forEach((file) => fileTree.add(file))
|
||||
@ -81,7 +81,7 @@ export default ((userOpts?: Partial<Options>) => {
|
||||
}: QuartzComponentProps) => {
|
||||
if (ctx.buildId !== lastBuildId) {
|
||||
lastBuildId = ctx.buildId
|
||||
constructFileTree(allFiles, (fileData.filePath ?? "").replaceAll(" ", "-"))
|
||||
constructFileTree(allFiles)
|
||||
}
|
||||
return (
|
||||
<div class={classNames(displayClass, "explorer")}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user