Explorar o código

insert a line

kaori %!s(int64=4) %!d(string=hai) anos
pai
achega
1505b0fddb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/app/src/components/Sidebar/PageTree/Item.tsx

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

@@ -115,6 +115,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
     type: 'DND_GROUP',
     type: 'DND_GROUP',
     item: { page },
     item: { page },
   }));
   }));
+
   const hasChildren = useCallback((): boolean => {
   const hasChildren = useCallback((): boolean => {
     return currentChildren != null && currentChildren.length > 0;
     return currentChildren != null && currentChildren.length > 0;
   }, [currentChildren]);
   }, [currentChildren]);