Skip to content

Commit

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

useEffect(() => {
if (data) setCamera(false);
Expand All @@ -45,8 +45,8 @@ export default function Page() {
margin: 0,
color: { dark: '000000FF', light: '00000000' },
errorCorrectionLevel,
// maskPattern,
// version,
maskPattern,
version,
},
(err, qrc) => {
err ? console.log(err) : (qrRef.current.innerHTML = qrc);
Expand Down Expand Up @@ -122,7 +122,7 @@ export default function Page() {
<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 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 className="grid grid-flow-row-dense w-full h-full items-end">
<div>version</div>
<div className="grid grid-cols-10 w-full h-full">
<div className="col-span-full">
Expand Down Expand Up @@ -188,8 +188,8 @@ export default function Page() {
</Button>
))}
</div>
</div> */}
{/* <div className="grid grid-flow-row-dense w-full h-full items-end">
</div>
<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 @@ -214,7 +214,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</div>
<div className="grid grid-flow-col-dense w-full h-full">
Expand Down

0 comments on commit 0af9a59

Please sign in to comment.