Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
Signed-off-by: ddl-rliu <[email protected]>
  • Loading branch information
ddl-rliu committed Jul 25, 2024
1 parent 171074e commit 93aec03
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
import { prism } from 'react-syntax-highlighter/dist/esm/styles/prism';
import FileCopyIcon from '@mui/icons-material/FileCopy';
import copyToClipboard from 'copy-to-clipboard';
import { env } from '@clients/common/environment';
import { errorBackgroundColor } from '@clients/theme/CommonStyles/constants';
import Button from '@mui/material/Button';
import Typography from '@mui/material/Typography';
Expand All @@ -11,7 +12,6 @@ import Grid from '@mui/material/Grid';
import Link from '@mui/material/Link';
import { RowExpander } from '../Tables/RowExpander';
import { ScrollableMonospaceText } from '../../common/ScrollableMonospaceText';
import { env } from '@clients/common/environment';

const StyledScrollableMonospaceText = styled(ScrollableMonospaceText)(({ theme }) => ({
'&>div': {
Expand All @@ -33,6 +33,7 @@ export const ExecutionNodeURL: React.FC<{
const ref = React.useRef<HTMLDivElement>(null);

const config =
// eslint-disable-next-line no-nested-ternary
env.CODE_SNIPPET_USE_AUTO_CONFIG === "true"
? 'Config.auto()'
: isHttps
Expand Down

0 comments on commit 93aec03

Please sign in to comment.