Skip to content

Commit

Permalink
fix: disable pic button + temp message
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Nov 22, 2024
1 parent 83532f4 commit 1291353
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/frontend/src/features/upload/UploadImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,17 @@ export const UploadImage = ({ reportId }: { reportId: string }) => {
type="button"
iconId="ri-add-line"
priority="secondary"
disabled
nativeButtonProps={{
type: "button",
onClick: () => ref.current?.click(),
}}
>
Ajouter photo
</Button>
<styled.div mt="16px" color="gray">
Le téléversement d'image est désactivé temporairement, mais il revient optimisé bientôt.
</styled.div>
<styled.input ref={ref as any} type="file" accept="image/*" onChange={onChange} display="none" />
<ReportPictures setSelectedPicture={setSelectedPicture} statusMap={statusMap} />
</>
Expand Down

0 comments on commit 1291353

Please sign in to comment.