From c8d94a8135eaa1b8f2a51da8460bcb15543d62a5 Mon Sep 17 00:00:00 2001 From: Lulox Date: Mon, 30 Sep 2024 04:07:34 -0300 Subject: [PATCH] Disabled invalid files and camera (that didn't work anyways) from mobile --- packages/nextjs/app/create/_components/ImageUploader.tsx | 7 ++++++- .../app/profile/_components/ProfilePictureUpload.tsx | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/nextjs/app/create/_components/ImageUploader.tsx b/packages/nextjs/app/create/_components/ImageUploader.tsx index a3958d3..e1dc47b 100644 --- a/packages/nextjs/app/create/_components/ImageUploader.tsx +++ b/packages/nextjs/app/create/_components/ImageUploader.tsx @@ -81,7 +81,12 @@ export const ImageUploader: React.FC = ({ image, setUploaded onMouseEnter={() => setHovered(true)} onMouseLeave={() => setHovered(false)} > - + {previewImage ? (
= ({ onMouseEnter={() => setHovered(true)} onMouseLeave={() => setHovered(false)} > - + {isEditing ? (
{previewImage ? (