Skip to content

Commit 2110081

Browse files
committed
fix: fix replace classNames use local method
fix replace classNames use local method
2 parents a13551e + 5965b7a commit 2110081

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"dependencies": {
2626
"@types/react": "^16.9.35",
2727
"@types/react-dom": "^16.9.9",
28+
"core-js": "^3.6.5",
2829
"dt-utils": "^1.0.1",
2930
"loadsh": "^0.0.4",
3031
"monaco-editor": "^0.21.2",
@@ -38,6 +39,7 @@
3839
"vscode-codicons": "^0.0.10"
3940
},
4041
"devDependencies": {
42+
"@babel/core": "^7.12.3",
4143
"@commitlint/cli": "^11.0.0",
4244
"@commitlint/config-conventional": "^11.0.0",
4345
"@storybook/addon-actions": "6.0.21",
@@ -74,5 +76,10 @@
7476
"hooks": {
7577
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
7678
}
79+
},
80+
"config": {
81+
"commitizen": {
82+
"path": "cz-conventional-changelog"
83+
}
7784
}
78-
}
85+
}

src/extensions/explore/explore.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Collapse, { Panel } from 'mo/components/collapse';
33
import ExploreActionItem from './exploreActionItem';
44
import { prefixClaName } from 'mo/common/className';
55
import { activityBarService, editorService } from 'mo';
6-
import classNames from 'classnames';
6+
import { classNames } from 'mo/common/className';
77
import './style.scss';
88
interface IExplorerProps {
99
}

src/extensions/explore/exploreActionItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from 'react';
22
import { memo } from 'react';
3-
import classNames from 'classnames';
3+
import { classNames } from 'mo/common/className';
44

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

0 commit comments

Comments
 (0)