Skip to content

Commit

Permalink
fix: fix replace classNames use local method
Browse files Browse the repository at this point in the history
fix replace classNames use local method
  • Loading branch information
zhangtengjin committed Nov 6, 2020
2 parents a13551e + 5965b7a commit 2110081
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"dependencies": {
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.9",
"core-js": "^3.6.5",
"dt-utils": "^1.0.1",
"loadsh": "^0.0.4",
"monaco-editor": "^0.21.2",
Expand All @@ -38,6 +39,7 @@
"vscode-codicons": "^0.0.10"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@storybook/addon-actions": "6.0.21",
Expand Down Expand Up @@ -74,5 +76,10 @@
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}
}
2 changes: 1 addition & 1 deletion src/extensions/explore/explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Collapse, { Panel } from 'mo/components/collapse';
import ExploreActionItem from './exploreActionItem';
import { prefixClaName } from 'mo/common/className';
import { activityBarService, editorService } from 'mo';
import classNames from 'classnames';
import { classNames } from 'mo/common/className';
import './style.scss';
interface IExplorerProps {
}
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/explore/exploreActionItem.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { memo } from 'react';
import classNames from 'classnames';
import { classNames } from 'mo/common/className';

import { IExplorerFileActionItem } from 'mo/model/workbench/exolorer';
function ExploreActionItem(props: IExplorerFileActionItem) {
Expand Down

0 comments on commit 2110081

Please sign in to comment.