Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mantinedev/mantine
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Sep 20, 2022
2 parents 24967e5 + 16349cf commit e88b62a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/docs/changelog/5-4-0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
2 changes: 1 addition & 1 deletion docs/src/docs/dates/calendar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
<Calendar initialMonth={new Date()} />
Expand Down
2 changes: 1 addition & 1 deletion src/mantine-hooks/src/use-local-storage/create-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function createStorage<T>(type: StorageType, hookName: string) {
);

const removeStorageValue = useCallback(() => {
window[type].removeStorageValue(key);
window[type].removeItem(key);
}, []);

useWindowEvent('storage', (event) => {
Expand Down

0 comments on commit e88b62a

Please sign in to comment.