diff --git a/example/rematch-tsx/package.json b/example/rematch-tsx/package.json index 72174b59..0292b440 100644 --- a/example/rematch-tsx/package.json +++ b/example/rematch-tsx/package.json @@ -22,7 +22,7 @@ "react-dynamic-loadable": "~3.0.0", "react-redux": "~7.2.8", "react-router-dom": "~6.3.0", - "uiw": "~4.21.0" + "uiw": "^4.21.17" }, "devDependencies": { "@kkt/less-modules": "^7.2.0", diff --git a/example/rematch-tsx/src/pages/login/index.tsx b/example/rematch-tsx/src/pages/login/index.tsx index a065a09d..e7561cc2 100644 --- a/example/rematch-tsx/src/pages/login/index.tsx +++ b/example/rematch-tsx/src/pages/login/index.tsx @@ -85,7 +85,7 @@ export default function Login() { }, }} > - {({ fields, canSubmit }) => { + {({ fields = {}, canSubmit }) => { return ( <> @@ -102,7 +102,7 @@ export default function Login() { -