From cb37a9b69583bd8b7a22e18ae088afdad0e2128c Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Sat, 28 May 2022 13:08:47 +0430 Subject: [PATCH] update Drawer.js, Comments.js and User.js --- src/components/Drawer.js | 4 +++- src/screens/Product/components/Comments.js | 6 +++++- src/screens/Profile/components/User.js | 8 ++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/Drawer.js b/src/components/Drawer.js index 7791632..92d2ea2 100644 --- a/src/components/Drawer.js +++ b/src/components/Drawer.js @@ -399,7 +399,9 @@ const Drawer = ({ > pickImage()} diff --git a/src/screens/Product/components/Comments.js b/src/screens/Product/components/Comments.js index b86ebb6..00dd9e8 100644 --- a/src/screens/Product/components/Comments.js +++ b/src/screens/Product/components/Comments.js @@ -153,7 +153,11 @@ const AddComment = ({ style={[tw("flex items-end")]} > { quality: 1, }); - upload({file : result, name : 'file'}); + upload({ file: result, name: "file" }); if (!result.cancelled) { setImage(result.uri); @@ -55,7 +55,11 @@ const User = ({ user, mobile, theme, upload }) => { > pickImage()} />