Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
||||
import React, { ComponentProps, HTMLAttributes, Suspense, forwardRef, lazy } from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { Box, Chip, Header, IconButton, Scroll, Text, as } from 'folds';
|
||||
import { Icon, Icons } from '../icons';
|
||||
import { ErrorBoundary } from 'react-error-boundary';
|
||||
import { Icon, Icons } from '../icons';
|
||||
import * as css from './TextViewer.css';
|
||||
import { copyToClipboard } from '../../utils/dom';
|
||||
|
||||
@@ -29,7 +28,7 @@ export const TextViewerContent = forwardRef<HTMLPreElement, TextViewerContentPro
|
||||
</Suspense>
|
||||
</ErrorBoundary>
|
||||
</Text>
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
export type TextViewerProps = {
|
||||
@@ -84,5 +83,5 @@ export const TextViewer = as<'div', TextViewerProps>(
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user