Skip to content

Commit

Permalink
style: optzie js format
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Oct 15, 2021
1 parent 88eaa45 commit 8c44442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"trailingComma": "none",
"arrowParens": "always",
"printWidth": 80,
"printWidth": 100,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"tabWidth": 2,
Expand Down
3 changes: 1 addition & 2 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ export default class ReactAbsoluteRect extends Component {
}

render() {
const { className, top, right, bottom, left, style, smooth, ...props } =
this.props;
const { className, top, right, bottom, left, style, smooth, ...props } = this.props;
const _style = { ...this.trblStyle, ...style };

return (
Expand Down

0 comments on commit 8c44442

Please sign in to comment.