Rewrite useLocalStorageState hook
This commit is contained in:
parent
dc08fee635
commit
89ec90cf04
3 changed files with 45 additions and 38 deletions
|
@ -32,7 +32,7 @@ import {IntegrationManagers} from "../../../integrations/IntegrationManagers";
|
|||
import SettingsStore from "../../../settings/SettingsStore";
|
||||
import classNames from 'classnames';
|
||||
import {Resizable} from "re-resizable";
|
||||
import {useLocalStorageState} from "../../../hooks/useLocalStorage";
|
||||
import {useLocalStorageState} from "../../../hooks/useLocalStorageState";
|
||||
|
||||
// The maximum number of widgets that can be added in a room
|
||||
const MAX_WIDGETS = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue