reza fixed qr

master
RezaAshrafi77 3 years ago
parent 3323acd00b
commit 4c15bb68e8
  1. 6
      src/views/QR/index.js

@ -89,7 +89,7 @@ class QR extends Component {
} }
render() { render() {
const { QR, qrList } = this.props; const { QR, qrList, loading } = this.props;
const fontSize = { const fontSize = {
desktop: { desktop: {
sidebar: { sidebar: {
@ -118,7 +118,7 @@ class QR extends Component {
return ( return (
<> <>
{window.innerWidth > 1000 ? ( {window.innerWidth > 1000 ? (
qrList ? ( !loading ? (
<> <>
<div className="qr d-flex flex-column"> <div className="qr d-flex flex-column">
<Navbar /> <Navbar />
@ -203,7 +203,7 @@ class QR extends Component {
) )
) : null} ) : null}
{window.innerWidth < 1000 ? ( {window.innerWidth < 1000 ? (
qrList ? ( !loading ? (
<> <>
<div className="mobile-qr d-flex flex-column"> <div className="mobile-qr d-flex flex-column">
<Navbar /> <Navbar />

Loading…
Cancel
Save