Skip to content

Commit 115d7f8

Browse files
committed
Rebase upstream/dev
1 parent a72a8e9 commit 115d7f8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/web/src/views/workspace/WSEditorCommandContent.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { styled, Alert, Box, Button, Card, CardActions, CardContent, Dialog, DialogActions, DialogContent, DialogTitle, FormControlLabel, Accordion, InputLabel, LinearProgress, Radio, RadioGroup, TextField, Typography, TypographyProps, AccordionDetails, IconButton, Input, InputAdornment, AccordionSummaryProps, FormLabel, Switch, ButtonBase, FormLabelProps } from '@mui/material';
22
import axios from 'axios';
3-
import React, { useState, useEffect, useMemo } from 'react';
3+
import React, { useState, useEffect } from 'react';
44
import MuiAccordionSummary from '@mui/material/AccordionSummary';
55
import { NameTypography, ShortHelpTypography, ShortHelpPlaceHolderTypography, LongHelpTypography, StableTypography, PreviewTypography, ExperimentalTypography, SubtitleTypography, CardTitleTypography } from './WSEditorTheme';
66
import DoDisturbOnRoundedIcon from '@mui/icons-material/DoDisturbOnRounded';
@@ -55,9 +55,9 @@ function isArrayOutput(output: Output): output is ArrayOutput {
5555
return output.type === "array";
5656
}
5757

58-
function isStringOutput(output: Output): output is StringOutput {
59-
return output.type === "string";
60-
}
58+
// function isStringOutput(output: Output): output is StringOutput {
59+
// return output.type === "string";
60+
// }
6161

6262
interface Resource {
6363
id: string,
@@ -179,21 +179,21 @@ const OutputRefTypography = styled(Typography)<TypographyProps>(({ theme }) => (
179179
fontWeight: 700,
180180
}))
181181

182-
const OutputFlagTypography = styled(Typography)<TypographyProps>(({ theme }) => ({
182+
const OutputFlagTypography = styled(Typography)<TypographyProps>(() => ({
183183
color: '#8888C3',
184184
fontFamily: "'Work Sans', sans-serif",
185185
fontSize: 10,
186186
fontWeight: 400,
187187
}))
188188

189-
const OutputEditTypography = styled(Typography)<TypographyProps>(({ theme }) => ({
189+
const OutputEditTypography = styled(Typography)<TypographyProps>(() => ({
190190
color: "#5d64cf",
191191
fontFamily: "'Work Sans', sans-serif",
192192
fontSize: 14,
193193
fontWeight: 400,
194194
}));
195195

196-
const OutputDialogLabel = styled(FormLabel)<FormLabelProps>(({ theme }) => ({
196+
const OutputDialogLabel = styled(FormLabel)<FormLabelProps>(() => ({
197197
fontSize: 12,
198198
}));
199199

0 commit comments

Comments
 (0)