Skip to content

Commit

Permalink
chore: clean jsx (#3520)
Browse files Browse the repository at this point in the history
  • Loading branch information
septs authored Jun 29, 2021
1 parent 393e53f commit 3ff5fb4
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const TokenTableRow = memo<TokenTableRowProps>(({ asset }) => {
{getTokenUSDValue(asset) < 0.01 ? (
'<0.01'
) : (
<FormattedCurrency value={getTokenUSDValue(asset).toFixed(2)} sign={'$'} />
<FormattedCurrency value={getTokenUSDValue(asset).toFixed(2)} sign="$" />
)}
</Typography>
</TableCell>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function DashboardPersonaCreateDialog(props: WrappedDialogProps) {
icon={<UserPlus />}
iconColor="#5FDD97"
primary={t('create_a_persona')}
secondary={' '}
secondary=" "
content={
<>
<form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function DashboardPluginDetailDialog({ ComponentProps, ...rest }: Wrapped
<DashboardDialogWrapper
icon={<span className={classes.logo}>{ComponentProps?.plugin.pluginIcon}</span>}
primary={ComponentProps?.plugin.pluginName ?? '-'}
secondary={' '}
secondary=" "
content={
<Paper className={classes.section} component="section" elevation={0}>
<Card elevation={0}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export function CreatePersona() {
}
}}
label={t('name')}
helperText={' '}
helperText=" "
inputProps={{
'data-testid': 'username_input',
}}
Expand Down
2 changes: 1 addition & 1 deletion packages/maskbook/src/plugins/ITO/define.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function LabelWrapper(props: LabelWrapperProps) {
}

export const [ITO_CompositionEntry, ITO_CompositionUI] = createCompositionDialog(
<LabelWrapper iconSize={12} labelText={'ITO'} />,
<LabelWrapper iconSize={12} labelText="ITO" />,
(props) => <CompositionDialog open={props.open} onConfirm={props.onClose} onClose={props.onClose} />,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,21 +229,21 @@ export function RedPacket(props: RedPacketProps) {
<Skeleton
animation="wave"
variant="rectangular"
width={'30%'}
width="30%"
height={12}
style={{ marginTop: 16 }}
/>
<Skeleton
animation="wave"
variant="rectangular"
width={'40%'}
width="40%"
height={12}
style={{ marginTop: 16 }}
/>
<Skeleton
animation="wave"
variant="rectangular"
width={'70%'}
width="70%"
height={12}
style={{ marginBottom: 16 }}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function CoinMetadataTags(props: CoinMetadataTagsProps) {
))}
{tags.length > 4 ? (
<>
<Linking key={tags.length + 1} href={'View all'} LinkProps={{ className: classes.tag }}>
<Linking key={tags.length + 1} href="View all" LinkProps={{ className: classes.tag }}>
<Chip
style={{ marginTop: 2, marginBottom: 2 }}
label="View all"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function renderPostDialogHintTo<T>(ls: LiveSelector<T, true>, signal: AbortSigna
watcher.useForeach((node, key, meta) => {
createReactRootShadowed(watcher.firstDOMProxy.afterShadow, {
signal,
}).render(<PostDialogHintAtMinds reason={'popup'} />)
}).render(<PostDialogHintAtMinds reason="popup" />)
})
}

Expand Down

0 comments on commit 3ff5fb4

Please sign in to comment.