File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const Main = () => {
2929 {
3030 icon : < FontAwesomeIcon icon = "qrcode" /> ,
3131 path : '/qrcode-generator' ,
32- name : 'QRCode generator ' ,
32+ name : 'QRCode Generator ' ,
3333 Component : QrCode ,
3434 } ,
3535 ] ;
Original file line number Diff line number Diff line change @@ -67,11 +67,9 @@ const HtmlPreview = () => {
6767 value = { content }
6868 />
6969 < 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- ) }
70+ < section className = "flex-1 min-h-full flex items-center p-4 prose bg-white rounded-md" >
71+ { qrCode && < img src = { qrCode } alt = { content } /> }
72+ </ section >
7573 </ div >
7674 </ div >
7775 ) ;
You can’t perform that action at this time.
0 commit comments