reza fixed something

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

@ -12,7 +12,7 @@ import fontSize from "../../../constants/fontSize";
const ios = Platform.OS === "ios";
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={[
@ -37,7 +37,7 @@ function MyBooks({ books, grades, theme }) {
>
کتابهای من
</Text>
<FlatList
showsHorizontalScrollIndicator={false}
style={[tw("py-3")]}

Loading…
Cancel
Save