HomePhabricator
Diffusion Comm 9801af9b88c2

[web] Turn `InvalidUploadModal` into a functional component

Description

[web] Turn InvalidUploadModal into a functional component

Summary: Was looking at this as part of the work to create a common Alert/Prompt component and noticed it might as well be a functional component... so made that change.

Test Plan:
Dragged a random non-image file into the chat area and the InvalidUploadModal component was displayed as expected:

Screen Shot 2022-06-03 at 1.13.27 AM.png (456×726 px, 33 KB)

Reviewers: palys-swm, def-au1t

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, yayabosh

Differential Revision: https://phabricator.ashoat.com/D4206

Details

Provenance
atulAuthored on Jun 2 2022, 10:11 PM
Reviewer
tomek
Differential Revision
D4206: [web] Turn `InvalidUploadModal` into a functional component
Parents
rCOMM3ecb5d8a81c5: [services] Remove `networks` from services `docker-compose` file.
Branches
Unknown
Tags
Unknown