Skip to content

Commit

Permalink
fixed the pr eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleemNeslit committed Dec 2, 2024
1 parent 5463b17 commit 0a6af97
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ type MarkdownViewerWithFallbackProps = {
readonly customShowMoreButton?: ReactNode;
readonly className?: string;
onImageClick?: () => void;
threadImage?: string | null;
isCardView?: boolean;
};

Expand All @@ -25,7 +24,6 @@ export const MarkdownViewerWithFallback = (
customShowMoreButton,
className,
onImageClick,
threadImage,
isCardView,
} = props;

Expand All @@ -49,7 +47,6 @@ export const MarkdownViewerWithFallback = (
cutoffLines={cutoffLines}
customShowMoreButton={customShowMoreButton}
onImageClick={onImageClick}
threadImage={threadImage}
isCardView={isCardView}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ type MarkdownFormattedTextProps = Omit<QuillRendererProps, 'doc'> & {
doc: string;
customClass?: string;
onImageClick?: () => void;
threadImage?: string | null;
isCardView?: boolean;
};

Expand All @@ -68,7 +67,6 @@ export const MarkdownFormattedText = ({
customClass,
customShowMoreButton,
onImageClick,
threadImage,
isCardView,
}: MarkdownFormattedTextProps) => {
const containerRef = useRef<HTMLDivElement>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export type QuillRendererProps = {
customClass?: string;
customShowMoreButton?: ReactNode;
onImageClick?: () => void;
threadImage?: string | null;
isCardView?: boolean;
};

Expand All @@ -35,7 +34,6 @@ export const QuillRenderer = ({
customClass,
customShowMoreButton = null,
onImageClick,
threadImage,
isCardView,
}: QuillRendererProps) => {
const docInfo: DocInfo = useMemo(() => {
Expand Down Expand Up @@ -109,7 +107,6 @@ export const QuillRenderer = ({
customClass={customClass}
customShowMoreButton={customShowMoreButton}
onImageClick={onImageClick}
threadImage={threadImage}
isCardView={isCardView}
/>
);
Expand All @@ -126,7 +123,6 @@ export const QuillRenderer = ({
customClass,
customShowMoreButton,
onImageClick,
threadImage,
isCardView,
]);

Expand Down

0 comments on commit 0a6af97

Please sign in to comment.