Ben Schlegel
2023-09-16 fea352849c6972da4b3b8935eb2e86f6cefc76ed
fix: create deep copy of file passed into tree
1 files modified
2 ■■■ changed files
quartz/components/ExplorerNode.tsx 2 ●●● patch | view | raw | blame | history
quartz/components/ExplorerNode.tsx
@@ -32,7 +32,7 @@
  constructor(name: string, file?: QuartzPluginData, depth?: number) {
    this.children = []
    this.name = name
    this.file = file ?? null
    this.file = file ? structuredClone(file) : null
    this.depth = depth ?? 0
  }