fix: hook realms
This commit is contained in:
parent
b567276f35
commit
88f2411f9a
|
@ -2,8 +2,8 @@ import {
|
||||||
React,
|
React,
|
||||||
hot,
|
hot,
|
||||||
} from '@flecks/react';
|
} from '@flecks/react';
|
||||||
import useLocalStorage from '@persea/core/hooks/use-local-storage';
|
|
||||||
|
|
||||||
|
import useLocalStorage from '../../hooks/use-local-storage';
|
||||||
import styles from './index.module.scss';
|
import styles from './index.module.scss';
|
||||||
import './global.scss';
|
import './global.scss';
|
||||||
import Resource from './resource';
|
import Resource from './resource';
|
||||||
|
|
|
@ -4,13 +4,12 @@ import {
|
||||||
React,
|
React,
|
||||||
useFlecks,
|
useFlecks,
|
||||||
} from '@flecks/react';
|
} from '@flecks/react';
|
||||||
import useLocalStorage from '@persea/core/hooks/use-local-storage';
|
|
||||||
|
|
||||||
import styles from './index.module.scss';
|
|
||||||
|
|
||||||
|
import useLocalStorage from '../../../hooks/use-local-storage';
|
||||||
import ContentComponent from './content';
|
import ContentComponent from './content';
|
||||||
import IconComponent from './icon';
|
import IconComponent from './icon';
|
||||||
import IconsComponent from './icons';
|
import IconsComponent from './icons';
|
||||||
|
import styles from './index.module.scss';
|
||||||
|
|
||||||
function Sidebar({expanded, setExpanded}) {
|
function Sidebar({expanded, setExpanded}) {
|
||||||
const flecks = useFlecks();
|
const flecks = useFlecks();
|
||||||
|
|
|
@ -12,12 +12,12 @@ import {
|
||||||
useDispatch,
|
useDispatch,
|
||||||
useSelector,
|
useSelector,
|
||||||
} from '@flecks/redux';
|
} from '@flecks/redux';
|
||||||
import useLocalStorage from '@persea/core/hooks/use-local-storage';
|
|
||||||
import {
|
import {
|
||||||
currentResourceSelector,
|
currentResourceSelector,
|
||||||
setCurrentResource,
|
setCurrentResource,
|
||||||
} from '@persea/core/state';
|
} from '@persea/core/state';
|
||||||
|
|
||||||
|
import useLocalStorage from '../../../hooks/use-local-storage';
|
||||||
import OrganizationActions from './actions';
|
import OrganizationActions from './actions';
|
||||||
import './index.scss';
|
import './index.scss';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user