Skip to content

Commit

Permalink
mobile: BookInfoReviewItem: show loading text and add margins
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswpark committed Apr 21, 2024
1 parent 58222bd commit 16727a1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mobile/Components/BookInfoReviewItem/BookInfoReviewItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ export const BookInfoReviewItem = ({ navigation, review_id }) => {

if (reviewSWR.isLoading || reviewVoteSWR.isLoading) {
return (
<View style={{ flex: 1, backgroundColor: "white" }}>
<ActivityIndicator />
<View style={{ flex: 1, backgroundColor: "white", margin: 30, alignItems: "center" }}>
<View style={{ flexDirection: "row" }}>
<Text>Loading review... </Text>
<ActivityIndicator />
</View>
</View>
);
}
Expand Down

0 comments on commit 16727a1

Please sign in to comment.