소스 검색

fix lint error

Shun Miyazawa 6 달 전
부모
커밋
29c6b232c8
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      apps/app/src/client/components/PagePathNavSticky/PagePathNavSticky.tsx
  2. 1 0
      apps/app/src/components/PageView/PageViewLayout.tsx

+ 0 - 2
apps/app/src/client/components/PagePathNavSticky/PagePathNavSticky.tsx

@@ -29,8 +29,6 @@ export const PagePathNavSticky = (props: PagePathNavLayoutProps): JSX.Element =>
 
   const isPrinting = usePrintMode();
 
-  const isPrinting = usePrintMode();
-
   const pageControlsX = usePageControlsX();
   const [sidebarWidth] = useCurrentProductNavWidth();
   const { sidebarMode } = useSidebarMode();

+ 1 - 0
apps/app/src/components/PageView/PageViewLayout.tsx

@@ -1,5 +1,6 @@
 import type { JSX, ReactNode } from 'react';
 
+// biome-ignore lint/style/noRestrictedImports: ignore
 import { usePrintMode } from '~/client/services/use-print-mode';
 
 import styles from './PageViewLayout.module.scss';