Skip to content

Commit

Permalink
chore: update dva examples (#11789)
Browse files Browse the repository at this point in the history
* chore: update dva examples

* chore: update lock

* Update package.json
  • Loading branch information
li-jia-nan authored Nov 6, 2023
1 parent 9ff52db commit af457bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/max/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@ant-design/icons": "^4.7.0",
"@umijs/max": "workspace:*",
"antd": "^4.23.2",
"dayjs": "^1.11.7",
"react": "18.1.0",
"react-dom": "18.1.0"
},
Expand Down
3 changes: 1 addition & 2 deletions examples/max/pages/dva.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-ignore
import { connect } from '@@/plugin-dva';
// @ts-ignore
import dayjs from 'moment';
import dayjs from 'dayjs';

function mapStateToProps(state: any) {
return { count: state.count };
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af457bc

Please sign in to comment.