diff --git a/.changeset/rotten-monkeys-swim.md b/.changeset/rotten-monkeys-swim.md new file mode 100644 index 000000000000..ed0984f08480 --- /dev/null +++ b/.changeset/rotten-monkeys-swim.md @@ -0,0 +1,5 @@ +--- +"@pankod/refine-mantine": patch +--- + +chore: @mantine/\* package version fixed to 5.5.6 due to [useForm issue](https://github.com/mantinedev/mantine/pull/2758) diff --git a/packages/mantine/package.json b/packages/mantine/package.json index b9bb42854e7c..27c47398c28d 100644 --- a/packages/mantine/package.json +++ b/packages/mantine/package.json @@ -42,10 +42,10 @@ }, "dependencies": { "@emotion/react": "^11.8.2", - "@mantine/core": "^5.2.3", - "@mantine/hooks": "^5.2.3", - "@mantine/form": "^5.2.3", - "@mantine/notifications": "^5.2.3", + "@mantine/core": "5.5.6", + "@mantine/hooks": "5.5.6", + "@mantine/form": "5.5.6", + "@mantine/notifications": "5.5.6", "@pankod/refine-ui-types": "^0.14.0", "dayjs": "^1.10.7", "react-markdown": "^6.0.1", @@ -64,4 +64,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/packages/mantine/src/components/pages/auth/index.tsx b/packages/mantine/src/components/pages/auth/index.tsx index 47e50f099e40..0920f8c6e703 100644 --- a/packages/mantine/src/components/pages/auth/index.tsx +++ b/packages/mantine/src/components/pages/auth/index.tsx @@ -10,7 +10,7 @@ import { UpdatePasswordPage, } from "./components"; -export type FormPropsType = UseFormInput<{}, any> & { +export type FormPropsType = UseFormInput<{}> & { onSubmit: (values: any) => void; };