Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Max29xD committed Aug 18, 2023
1 parent e300d81 commit e88308e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
6 changes: 2 additions & 4 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
'use client'

import Generator from '@/components/Generator'
import Generator from "@/components/Generator";

export default function Home() {
return (
<main>
<Generator />
</main>
)
);
}
4 changes: 2 additions & 2 deletions components/Generator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default function Generator() {
/>
</div>
<div className='grid bg-black border rounded-3xl p-2'>
<QRCode
{/* <QRCode
id='qr'
value={textInput === '' ? textDefault : textInput}
size={357}
Expand All @@ -93,7 +93,7 @@ export default function Generator() {
logoWidth={80}
qrStyle='dots'
eyeRadius={5}
/>
/> */}
<button
onClick={downloadQR}
className='border-2 border-dotted text-white border-white hover:text-max hover:border-max font-bold py-2 px-4 rounded-3xl transition-colors duration-300'
Expand Down
13 changes: 11 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
const million = require('million/compiler');

/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
reactStrictMode: true,
}

const millionConfig = {
auto: true,
auto: { rsc: true }
}

module.exports = nextConfig
module.exports = million.next(nextConfig, millionConfig)

0 comments on commit e88308e

Please sign in to comment.