Skip to content

Commit

Permalink
fix qrcode error
Browse files Browse the repository at this point in the history
  • Loading branch information
CPunisher committed May 3, 2020
1 parent becc2eb commit 37e3372
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11,442 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

/.idea/workspace.xml
/.idea/workspace.xml
3 changes: 1 addition & 2 deletions .idea/workspace.xml

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

2 changes: 1 addition & 1 deletion src/components/Qrcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Qrcode extends React.Component {
<div className="Qr-s">
<div className="Qr-box">
{
getStyleList().map((style) => {
getStyleList(this.state.qrcode).map((style) => {
return <QrItem
value={style.value}
key={style.value}
Expand Down
Loading

0 comments on commit 37e3372

Please sign in to comment.