Explorar o código

fix lint errors

Yuki Takei hai 5 meses
pai
achega
4a328296ae

+ 4 - 2
packages/remark-attachment-refs/src/client/components/AttachmentList.tsx

@@ -1,10 +1,12 @@
+import { type JSX, useCallback } from 'react';
 import type { IAttachmentHasId } from '@growi/core';
 import { Attachment, LoadingSpinner } from '@growi/ui/dist/components';
-import { type JSX, useCallback } from 'react';
-import styles from './AttachmentList.module.scss';
+
 import { ExtractedAttachments } from './ExtractedAttachments';
 import type { RefsContext } from './util/refs-context';
 
+import styles from './AttachmentList.module.scss';
+
 const AttachmentLink = Attachment;
 
 type Props = {

+ 1 - 1
packages/remark-attachment-refs/src/client/components/ExtractedAttachments.tsx

@@ -1,6 +1,6 @@
+import React, { type JSX, useCallback } from 'react';
 import type { IAttachmentHasId } from '@growi/core';
 import type { Property } from 'csstype';
-import React, { type JSX, useCallback } from 'react';
 
 // import Carousel, { Modal, ModalGateway } from 'react-images';