reza fixed something

master
Reza_ashrafi 3 years ago
parent 3884f02bbe
commit 2d6b865f17
  1. 2
      src/screens/Home/components/MyBooks.js

@ -12,7 +12,7 @@ import fontSize from "../../../constants/fontSize";
const ios = Platform.OS === "ios"; const ios = Platform.OS === "ios";
function MyBooks({ books, grades, theme }) { function MyBooks({ books, grades, theme }) {
return books.length ? ( return books?.filter((book) => book.condition >= 2).length ? (
<View style={[tw("flex w-full mb-5")]}> <View style={[tw("flex w-full mb-5")]}>
<View <View
style={[ style={[

Loading…
Cancel
Save