We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fe253e commit 25ef696Copy full SHA for 25ef696
src/components/Main.tsx
@@ -29,7 +29,7 @@ const Main = () => {
29
{
30
icon: <FontAwesomeIcon icon="qrcode" />,
31
path: '/qrcode-generator',
32
- name: 'QRCode generator',
+ name: 'QRCode Generator',
33
Component: QrCode,
34
},
35
];
src/components/qrcode/QrCode.tsx
@@ -67,11 +67,9 @@ const HtmlPreview = () => {
67
value={content}
68
/>
69
<div className="mx-1" />
70
- {qrCode && (
71
- <section className="flex-1 min-h-full flex items-center p-4 prose bg-white rounded-md">
72
- <img src={qrCode} alt={content} />
73
- </section>
74
- )}
+ <section className="flex-1 min-h-full flex items-center p-4 prose bg-white rounded-md">
+ {qrCode && <img src={qrCode} alt={content} />}
+ </section>
75
</div>
76
77
);
0 commit comments