create-umi 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-umi",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "create-umi",
5
5
  "homepage": "https://github.com/umijs/umi-next/tree/master/packages/create-umi#readme",
6
6
  "bugs": "https://github.com/umijs/umi-next/issues",
@@ -25,7 +25,7 @@
25
25
  "test": "umi-scripts jest-turbo"
26
26
  },
27
27
  "dependencies": {
28
- "@umijs/utils": "4.0.0"
28
+ "@umijs/utils": "4.0.1"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { Link, Outlet } from 'umi';
3
2
  import styles from './index.less';
4
3
 
@@ -1,5 +1,3 @@
1
- import React from 'react';
2
-
3
1
  export default () => {
4
2
  return (
5
3
  <div>
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import yayJpg from '../assets/yay.jpg';
3
2
 
4
3
  export default function HomePage() {
@@ -1,7 +1,6 @@
1
1
  import { PageContainer } from '@ant-design/pro-components';
2
2
  import { Access, useAccess } from '@umijs/max';
3
3
  import { Button } from 'antd';
4
- import React from 'react';
5
4
 
6
5
  export default () => {
7
6
  const access = useAccess();
@@ -2,7 +2,6 @@ import Guide from '@/components/Guide';
2
2
  import { trim } from '@/utils/format';
3
3
  import { PageContainer } from '@ant-design/pro-components';
4
4
  import { useModel } from '@umijs/max';
5
- import React from 'react';
6
5
  import styles from './index.less';
7
6
 
8
7
  export default () => {