diff --git a/libs/ui/src/organisms/backoffice-sidebar/backoffice-sidebar.tsx b/apps/backoffice/src/components/sidebar.tsx similarity index 99% rename from libs/ui/src/organisms/backoffice-sidebar/backoffice-sidebar.tsx rename to apps/backoffice/src/components/sidebar.tsx index cf2d02a..c5b8d7e 100644 --- a/libs/ui/src/organisms/backoffice-sidebar/backoffice-sidebar.tsx +++ b/apps/backoffice/src/components/sidebar.tsx @@ -18,7 +18,7 @@ import { UserOutlined, UserSwitchOutlined, } from '@ant-design/icons'; -import { Button } from '../../atoms'; +import { Button } from '@imphnen-frontend-service/ui/atoms'; import { FC, ReactElement, useState } from 'react'; import { useLocation, useNavigate } from '@tanstack/react-router'; import { cn, For } from '@imphnen-frontend-service/utils'; diff --git a/apps/backoffice/src/routes/_authenticated.tsx b/apps/backoffice/src/routes/_authenticated.tsx index 0c23d34..673b7f0 100644 --- a/apps/backoffice/src/routes/_authenticated.tsx +++ b/apps/backoffice/src/routes/_authenticated.tsx @@ -1,7 +1,7 @@ import { createFileRoute, Outlet, redirect } from '@tanstack/react-router' import { SessionToken } from '@imphnen-frontend-service/service' import { useState } from 'react' -import { BackofficeSidebar } from '@imphnen-frontend-service/ui/organisms' +import { BackofficeSidebar } from '../components/sidebar' export const Route = createFileRoute('/_authenticated')({ beforeLoad: () => { diff --git a/libs/ui/src/organisms/backoffice-sidebar/index.ts b/libs/ui/src/organisms/backoffice-sidebar/index.ts deleted file mode 100644 index cc302f9..0000000 --- a/libs/ui/src/organisms/backoffice-sidebar/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './backoffice-sidebar' diff --git a/libs/ui/src/organisms/index.ts b/libs/ui/src/organisms/index.ts index 38e8964..9ededfc 100644 --- a/libs/ui/src/organisms/index.ts +++ b/libs/ui/src/organisms/index.ts @@ -1,7 +1,6 @@ export * from './navbar'; export * from './modals-gacha'; export * from './auth-banner'; -export * from './backoffice-sidebar'; export * from './datatable'; export * from './filter'; export * from './controlled-field';