Skip to content

Commit

Permalink
remove mask pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
appleicat committed Mar 12, 2024
1 parent 83f4c98 commit 016d37e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/_page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Page() {
const [data, setData] = useState('');
const [camera, setCamera] = useState(false);
const [errorCorrectionLevel, setErrorCorrectionLevel] = useState('L');
const [maskPattern, setMaskPattern] = useState(undefined);
// const [maskPattern, setMaskPattern] = useState(undefined);
const [version, setVersion] = useState(undefined);

useEffect(() => {
Expand All @@ -45,7 +45,7 @@ export default function Page() {
margin: 0,
color: { dark: '000000FF', light: '00000000' },
errorCorrectionLevel,
maskPattern,
// maskPattern,
version,
},
(err, qrc) => {
Expand Down Expand Up @@ -186,7 +186,7 @@ export default function Page() {
))}
</div>
</div>
<div className="grid grid-flow-row-dense w-full h-full items-end">
{/* <div className="grid grid-flow-row-dense w-full h-full items-end">
<div>mask pattern</div>
<div className="grid grid-cols-8 w-full h-full">
<div className="col-span-full">
Expand All @@ -211,7 +211,7 @@ export default function Page() {
</Button>
))}
</div>
</div>
</div> */}
<div className="grid grid-flow-row-dense w-full h-full items-end">
<div>error correction level</div>
<div className="grid grid-flow-col-dense w-full h-full">
Expand Down

0 comments on commit 016d37e

Please sign in to comment.