Skip to content

Commit

Permalink
chore(api): sync
Browse files Browse the repository at this point in the history
  • Loading branch information
linhandev committed Feb 14, 2023
1 parent b3c1518 commit 2dde710
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 279 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"antd": "^4.23.5",
"browserslist": "^4.21.3",
"classnames": "^2.3.0",
"dva-core": "^1.6.0-0",
"dva-core": "^2.0.4",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
Expand All @@ -63,7 +63,7 @@
"konva": "^8.3.2",
"loader-utils": "^3.2.0",
"lodash": "^4.17.0",
"minimatch": "^3.0.5",
"minimatch": "^6.1.8",
"moment": "^2.29.0",
"omit.js": "^2.0.2",
"parse-url": "^8.1.0",
Expand Down Expand Up @@ -96,7 +96,7 @@
"@types/history": "^5.0.0",
"@types/jest": "^29.4.0",
"@types/lodash": "^4.14.0",
"@types/react": "18.0.27",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.10",
"@types/react-helmet": "^6.1.0",
"@umijs/fabric": "^2.8.0",
Expand All @@ -118,7 +118,7 @@
"lint-staged": "13.1.1",
"prettier": "^2.5.0",
"puppeteer-core": "19.6.3",
"stylelint": "15.0.0",
"stylelint": "15.1.0",
"stylelint-config-standard": "30.0.1",
"typescript": "^4.9.4",
"umi-serve": "^1.9.10"
Expand Down
5 changes: 1 addition & 4 deletions src/components/PPCreator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import serviceUtils from '@/services/serviceUtils';
import { createInfo, camel2snake, IntlInit } from '@/services/utils';
import { ProjectUtils } from '@/services/utils';
import { IntlInitJsx } from '@/components/PPIntl';
// import { render } from 'react-dom';
import type { ImportOption } from '@/services/web';

export type _PPCardProps = {
Expand Down Expand Up @@ -411,9 +410,7 @@ const PPCreator: React.FC<PPCreatorProps> = (props) => {
htmlType="button"
style={{ height: '2.5rem', width: '48%' }}
block
onClick={() => {
history.goBack();
}}
onClick={() => history.goBack()}
>
{intlJsx('cancel')}
</Button>
Expand Down
Loading

0 comments on commit 2dde710

Please sign in to comment.