From ef3ec559ba941bfda8c6921be9e5f0b89fbdba8a Mon Sep 17 00:00:00 2001 From: Aditya Pawar Date: Sat, 6 Apr 2024 23:04:50 -0700 Subject: [PATCH] Run prettier --- src/app/(tabs)/author/index.tsx | 12 ++++++++---- src/app/(tabs)/genre/index.tsx | 4 +++- src/app/(tabs)/home/index.tsx | 15 ++++++++++++--- src/app/(tabs)/settings/styles.tsx | 2 +- src/styles/globalStyles.ts | 2 +- 5 files changed, 25 insertions(+), 10 deletions(-) diff --git a/src/app/(tabs)/author/index.tsx b/src/app/(tabs)/author/index.tsx index 7f77a59..38b8b88 100644 --- a/src/app/(tabs)/author/index.tsx +++ b/src/app/(tabs)/author/index.tsx @@ -47,11 +47,13 @@ function AuthorScreen() { }, [author]); const getTextFromHtml = (text: string) => { - return cheerio.load(text).text().trim() - } + return cheerio.load(text).text().trim(); + }; return ( - + {isLoading ? ( ) : ( @@ -89,7 +91,9 @@ function AuthorScreen() { {authorInfo?.bio && ( <> - {getTextFromHtml(authorInfo.bio)} + + {getTextFromHtml(authorInfo.bio)} + )} diff --git a/src/app/(tabs)/genre/index.tsx b/src/app/(tabs)/genre/index.tsx index 816d248..025680e 100644 --- a/src/app/(tabs)/genre/index.tsx +++ b/src/app/(tabs)/genre/index.tsx @@ -291,7 +291,9 @@ function GenreScreen() { }; return ( - + + return ; } return (