Skip to content

Commit

Permalink
fix: fix yarnrc and some todo
Browse files Browse the repository at this point in the history
fix yarnrc and some todo
  • Loading branch information
zhangtengjin committed Nov 20, 2020
1 parent aa772a4 commit 8658641
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Set default registry: yarn config set registry https://registry.yarnpkg.com
registry=http://registry.npm.dtstack.com/
registry "http://registry.npm.dtstack.com/"
5 changes: 4 additions & 1 deletion src/extensions/explore/explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,14 @@ export const Explorer: React.FunctionComponent<IExplorerProps> = (
e.stopPropagation()
console.log('onClick:', e, item);
};
/**
* TODO: withdraw and log
*/
const render = (render) => {
if (render) {
return render()
} else {
return 'cannot provide...'
return 'Cannot provide...'
}
}
const { panelSet, explorerToolbar, activePanelKey } = state;
Expand Down
1 change: 1 addition & 0 deletions src/extensions/explore/tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const TreeView: React.FunctionComponent<ITreeProps> = (

/**
* Refer to antd for details
* TODO: move component
*/
const onDrop = info => {
console.log(info);
Expand Down

0 comments on commit 8658641

Please sign in to comment.