Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingrv committed Apr 11, 2023
1 parent 087ef36 commit 4d07d6d
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"arrowParens": "avoid",
"arrowParens": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"jsxSingleQuote": false,
Expand Down
154 changes: 99 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-webpack-plugin": "^4.0.0",
"eslint-webpack-plugin": "^3.2.0",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.7.2",
"postcss": "^8.4.6",
Expand Down
2 changes: 1 addition & 1 deletion src/app/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function App() {
</div>
<h1>ReactJS</h1>
<div className="card">
<button onClick={() => setCount(c => c + 1)}>count is {count}</button>
<button onClick={() => setCount((c) => c + 1)}>count is {count}</button>
<p>
Edit <code>src/App.jsx</code> and save to test HMR
</p>
Expand Down

0 comments on commit 4d07d6d

Please sign in to comment.