From 88f2411f9a6d4cdcc870e03bb41ae898637c1ea2 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sat, 2 Apr 2022 05:48:33 -0500 Subject: [PATCH] fix: hook realms --- packages/core/src/components/persea/index.jsx | 2 +- packages/core/src/components/persea/sidebar/index.jsx | 5 ++--- .../core/src/sidebar/organization/organization/index.jsx | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/core/src/components/persea/index.jsx b/packages/core/src/components/persea/index.jsx index 3c44790..5920df0 100644 --- a/packages/core/src/components/persea/index.jsx +++ b/packages/core/src/components/persea/index.jsx @@ -2,8 +2,8 @@ import { React, hot, } 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 './global.scss'; import Resource from './resource'; diff --git a/packages/core/src/components/persea/sidebar/index.jsx b/packages/core/src/components/persea/sidebar/index.jsx index b42b5f4..5264202 100644 --- a/packages/core/src/components/persea/sidebar/index.jsx +++ b/packages/core/src/components/persea/sidebar/index.jsx @@ -4,13 +4,12 @@ import { React, useFlecks, } 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 IconComponent from './icon'; import IconsComponent from './icons'; +import styles from './index.module.scss'; function Sidebar({expanded, setExpanded}) { const flecks = useFlecks(); diff --git a/packages/core/src/sidebar/organization/organization/index.jsx b/packages/core/src/sidebar/organization/organization/index.jsx index 8a43103..f93f785 100644 --- a/packages/core/src/sidebar/organization/organization/index.jsx +++ b/packages/core/src/sidebar/organization/organization/index.jsx @@ -12,12 +12,12 @@ import { useDispatch, useSelector, } from '@flecks/redux'; -import useLocalStorage from '@persea/core/hooks/use-local-storage'; import { currentResourceSelector, setCurrentResource, } from '@persea/core/state'; +import useLocalStorage from '../../../hooks/use-local-storage'; import OrganizationActions from './actions'; import './index.scss';