Procházet zdrojové kódy

change code position

yohei0125 před 4 roky
rodič
revize
95c46ad1fe

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

@@ -50,9 +50,6 @@ type ItemControlProps = {
   onClickRenameButton?(): void
 }
 
-type ItemCountProps = {
-  descendantCount: number
-}
 
 const ItemControl: FC<ItemControlProps> = memo((props: ItemControlProps) => {
   const onClickPlusButton = () => {
@@ -103,6 +100,11 @@ const ItemControl: FC<ItemControlProps> = memo((props: ItemControlProps) => {
   );
 });
 
+
+type ItemCountProps = {
+  descendantCount: number
+}
+
 const ItemCount: FC<ItemCountProps> = (props:ItemCountProps) => {
   return (
     <>