@ -133,7 +133,7 @@ NavbarDrawer.defaultProps = {
},
{
name: "بارکد خوان",
link: "/qr-code",
link: "/qr-scan",
icon: <img src={qrcode} alt="بارکد خوان" />,
toast: "",
@ -157,7 +157,7 @@ NavbarDrawer.defaultProps = {
name: "پیام رسان",
link: "/chat",
link: "/chatroom",
icon: <img src={mobileMail} alt="بلاگ" />,
@ -219,7 +219,7 @@ Home.defaultProps = {
design: "flex",
title: "دانوینی ها",
subTitle: "",
link: '',
link: '/chatroom',
badge : '5 پیام جدید',
flex : 1.6,
fontSize : 'normal',
@ -318,7 +318,7 @@ Home.defaultProps = {
justifyContent: 'center',
alignItems: 'center',
link: '/contact',
badge : '',
flex : 1,
@ -34,6 +34,7 @@ export default class Scanner extends Component {
onError={this.handleError}
onScan={this.handleScan}
legacyMode={true}
facingMode={'user'}
/>
</>
)