From e5728aa96c0bbe800cd90188ce6a6f3e74be3bae Mon Sep 17 00:00:00 2001 From: hexxa Date: Sun, 27 Feb 2022 18:52:29 +0800 Subject: [PATCH] fix: remove comments --- src/client/web/src/common/utils.ts | 1 - src/client/web/src/components/state_updater.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/client/web/src/common/utils.ts b/src/client/web/src/common/utils.ts index b411a6a..cd526bd 100644 --- a/src/client/web/src/common/utils.ts +++ b/src/client/web/src/common/utils.ts @@ -2,7 +2,6 @@ import { List, Map } from "immutable"; export interface Row { - // elem: React.ReactNode; // element to display val: Object; // original object value sortVals: List; // sortable values in order } diff --git a/src/client/web/src/components/state_updater.ts b/src/client/web/src/components/state_updater.ts index 80c2b76..0d38906 100644 --- a/src/client/web/src/components/state_updater.ts +++ b/src/client/web/src/components/state_updater.ts @@ -258,11 +258,6 @@ export class Updater { if (status !== "") { return status; } - // TODO: this part is duplicated in the panel_files.tsx - // const sortKeys = List([ - // this.props.msg.pkg.get("item.type"), - // this.props.msg.pkg.get("item.name"), - // ]); }; setItems = async (dirParts: List): Promise => {