From 38341b61652f1a4ba50d2cdbf4ed9f9045367d27 Mon Sep 17 00:00:00 2001 From: Reinaldo Neto Date: Fri, 26 Jan 2024 14:31:43 -0300 Subject: [PATCH] fix: prettier --- app/views/ChangeAvatarView/index.tsx | 2 +- app/views/DirectoryView/index.tsx | 2 +- app/views/RoomInfoView/components/RoomInfoButtons.tsx | 8 +------- app/views/RoomInfoView/index.tsx | 4 ++-- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/app/views/ChangeAvatarView/index.tsx b/app/views/ChangeAvatarView/index.tsx index 7339d61e2..9f8c65d54 100644 --- a/app/views/ChangeAvatarView/index.tsx +++ b/app/views/ChangeAvatarView/index.tsx @@ -147,7 +147,7 @@ const ChangeAvatarView = () => { payload: { url: response.path, data: `data:image/jpeg;base64,${response.data}`, service: 'upload' } }); } catch (error: any) { - if(error?.code !== "E_PICKER_CANCELLED") { + if (error?.code !== 'E_PICKER_CANCELLED') { log(error); } } diff --git a/app/views/DirectoryView/index.tsx b/app/views/DirectoryView/index.tsx index b8f17d234..ee5f9a357 100644 --- a/app/views/DirectoryView/index.tsx +++ b/app/views/DirectoryView/index.tsx @@ -139,7 +139,7 @@ class DirectoryView extends React.Component { diff --git a/app/views/RoomInfoView/components/RoomInfoButtons.tsx b/app/views/RoomInfoView/components/RoomInfoButtons.tsx index 8f7c36d20..74be791c4 100644 --- a/app/views/RoomInfoView/components/RoomInfoButtons.tsx +++ b/app/views/RoomInfoView/components/RoomInfoButtons.tsx @@ -111,13 +111,7 @@ export const RoomInfoButtons = ({ iconName='ignore' showIcon={!!renderBlockUser} /> - + ); }; diff --git a/app/views/RoomInfoView/index.tsx b/app/views/RoomInfoView/index.tsx index 4ecf3c0e7..dc0e31ea7 100644 --- a/app/views/RoomInfoView/index.tsx +++ b/app/views/RoomInfoView/index.tsx @@ -31,8 +31,8 @@ import RoomInfoViewTitle from './components/RoomInfoViewTitle'; import styles from './styles'; type TRoomInfoViewNavigationProp = CompositeNavigationProp< -StackNavigationProp, -StackNavigationProp + StackNavigationProp, + StackNavigationProp >; type TRoomInfoViewRouteProp = RouteProp;