2
0
yohei0125 3 жил өмнө
parent
commit
bd76883e7d

+ 1 - 1
packages/app/src/components/Sidebar/PageTree/Item.tsx

@@ -45,7 +45,7 @@ interface ItemProps {
 }
 }
 
 
 // Utility to mark target
 // Utility to mark target
-const markTarget = (children: ItemNode[], targetPathOrId?: string): void => {
+const markTarget = (children: ItemNode[], targetPathOrId?: Nullable<string>): void => {
   if (targetPathOrId == null) {
   if (targetPathOrId == null) {
     return;
     return;
   }
   }