mirror of https://github.com/buster-so/buster.git
update display name
This commit is contained in:
parent
f41f16c108
commit
c2dee1e5be
|
@ -791,3 +791,5 @@ const AppSplitterBase = forwardRef<
|
|||
);
|
||||
|
||||
export const AppSplitter = React.memo(AppSplitterWrapper);
|
||||
|
||||
AppSplitter.displayName = 'AppSplitter';
|
||||
|
|
|
@ -95,9 +95,9 @@ export function useLocalStorageState<T>(
|
|||
const [state, setState] = useState<T | undefined>(getInitialValue);
|
||||
|
||||
// Initialize state from localStorage on mount
|
||||
useMount(() => {
|
||||
setState(getInitialValue());
|
||||
});
|
||||
// useMount(() => {
|
||||
// setState(getInitialValue());
|
||||
// });
|
||||
|
||||
// Update localStorage when state changes
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Reference in New Issue