Skip to content

Commit

Permalink
chore: eslint warnings and errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Nov 18, 2023
1 parent 43a16bd commit 2917274
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/react-docs/pages/components/image/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const App = () => {

return (
<Image
alt=""
src={imageSrc}
width={96}
height={96}
Expand Down
1 change: 1 addition & 0 deletions packages/react-docs/pages/components/image/inline-svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const App = () => {

return (
<Image
alt=""
src={imageSrc}
width={96}
height={96}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-docs/pages/components/input/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const TextField = forwardRef((
// Optional
useEffect(() => {
const el = nodeRef.current;
const errorMessage = !!error ? error : '';
const errorMessage = error || '';
el.setCustomValidity(errorMessage);
}, [error]);

Expand Down

0 comments on commit 2917274

Please sign in to comment.