diff --git a/docs/src/docs/changelog/5-4-0.mdx b/docs/src/docs/changelog/5-4-0.mdx index 401d26e743b..b5d62680245 100644 --- a/docs/src/docs/changelog/5-4-0.mdx +++ b/docs/src/docs/changelog/5-4-0.mdx @@ -60,4 +60,4 @@ for example, the props can be used to sync visibility state between two inputs: - [Group](https://mantine.dev/core/group/) component now uses child selector instead of passing `className` to children - [Dropzone](https://mantine.dev/others/dropzone/) component now supports `useFsAccessApi` prop - [SimpleGrid](https://mantine.dev/core/simple-grid/) component now supports `verticalSpacing` prop -- [ThemeIcon](https://mantine.dev/core/theme-icons/) component now supports `variant="default"` +- [ThemeIcon](https://mantine.dev/core/theme-icon/) component now supports `variant="default"` diff --git a/docs/src/docs/dates/calendar.mdx b/docs/src/docs/dates/calendar.mdx index 9d2391d263b..fc09e6150ba 100644 --- a/docs/src/docs/dates/calendar.mdx +++ b/docs/src/docs/dates/calendar.mdx @@ -51,7 +51,7 @@ function Demo() { } ``` -Alternatively, set `initialMonth` prop to set initial month in uncontrolled component: +Alternatively, set `initialMonth` prop to leave it uncontrolled: ```tsx diff --git a/src/mantine-hooks/src/use-local-storage/create-storage.ts b/src/mantine-hooks/src/use-local-storage/create-storage.ts index cb6ef0ebc2d..a5cbac59023 100644 --- a/src/mantine-hooks/src/use-local-storage/create-storage.ts +++ b/src/mantine-hooks/src/use-local-storage/create-storage.ts @@ -82,7 +82,7 @@ export function createStorage(type: StorageType, hookName: string) { ); const removeStorageValue = useCallback(() => { - window[type].removeStorageValue(key); + window[type].removeItem(key); }, []); useWindowEvent('storage', (event) => {