Skip to content

Commit

Permalink
fix: code format premitter
Browse files Browse the repository at this point in the history
code format premitter
  • Loading branch information
zhangtengjin authored and wewoor committed Feb 25, 2021
1 parent 768f176 commit de3d81a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/components/tree/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ export interface ITreeProps {
expandedKeys?: Key[];
defaultCheckedKeys?: Key[];
checkedKeys?:
| Key[]
| {
checked: Key[];
halfChecked: Key[];
};
| Key[]
| {
checked: Key[];
halfChecked: Key[];
};
defaultSelectedKeys?: Key[];
selectedKeys?: Key[];
titleRender?: (node: DataNode) => React.ReactNode;
Expand Down
2 changes: 1 addition & 1 deletion src/controller/explorer/folderTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class FolderTreeController
this.initView();
}

private initView() { }
private initView() {}

public readonly onSelectFile = (file: ITreeNodeItem) => {
const tabData = {
Expand Down
4 changes: 2 additions & 2 deletions src/workbench/sidebar/explore/folderTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ const FolderTree: React.FunctionComponent<IFolderTree> = (
onBlur={handleInputBlur}
/>
) : (
name
);
name
);
};

const renderByData = (
Expand Down

0 comments on commit de3d81a

Please sign in to comment.