Skip to content

Commit

Permalink
Remove ReactMarkdown in Inputs/Outputs (#504)
Browse files Browse the repository at this point in the history
* Initial commit: Remove ReactMarkdown

* Lint
  • Loading branch information
jhlee-mitre authored Jun 24, 2024
1 parent 3a489d0 commit c897fb5
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import React, { FC } from 'react';
import useStyles from './styles';
import { Table, TableBody, TableRow, TableCell, Typography, TableHead, Box } from '@mui/material';
import { TestInput, TestOutput } from '~/models/testSuiteModels';
import ReactMarkdown from 'react-markdown';
import remarkGfm from 'remark-gfm';

interface InputOutputListProps {
inputOutputs: TestInput[] | TestOutput[];
Expand Down Expand Up @@ -44,9 +42,9 @@ const InputOutputList: FC<InputOutputListProps> = ({
</Typography>
</TableCell>
<TableCell className={classes.inputOutputsValue}>
<ReactMarkdown remarkPlugins={[remarkGfm]} className={classes.wordWrap}>
<Typography variant="subtitle2" component="p">
{(inputOutputs?.value as string) || ''}
</ReactMarkdown>
</Typography>
</TableCell>
</TableRow>
);
Expand Down

0 comments on commit c897fb5

Please sign in to comment.