Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jul 2, 2024
1 parent a87a2b4 commit ec4c835
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/mui-material/src/FormHelperText/FormHelperText.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const FormHelperText = React.forwardRef(function FormHelperText(inProps, ref) {
>
{children === ' ' ? (
// notranslate needed while Google Translate will not fix zero-width space issue
<span className="notranslate"></span>
<span className="notranslate">&#8203;</span>
) : (
children
)}
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/InputAdornment/InputAdornment.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const InputAdornment = React.forwardRef(function InputAdornment(inProps, ref) {
{/* To have the correct vertical alignment baseline */}
{position === 'start' ? (
/* notranslate needed while Google Translate will not fix zero-width space issue */
<span className="notranslate"></span>
<span className="notranslate">&#8203;</span>
) : null}
{children}
</React.Fragment>
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/OutlinedInput/NotchedOutline.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function NotchedOutline(props) {
<span>{label}</span>
) : (
// notranslate needed while Google Translate will not fix zero-width space issue
<span className="notranslate"></span>
<span className="notranslate">&#8203;</span>
)}
</NotchedOutlineLegend>
</NotchedOutlineRoot>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import * as React from 'react';
import * as ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
import { useDefaultProps } from '../DefaultPropsProvider';
import { NoSsr } from '@mui/base';
import { useDefaultProps } from '../DefaultPropsProvider';
import Drawer, { getAnchor, isHorizontal } from '../Drawer/Drawer';
import useForkRef from '../utils/useForkRef';
import ownerDocument from '../utils/ownerDocument';
Expand Down

0 comments on commit ec4c835

Please sign in to comment.