+ 1

React js

In my task I can send messages via Contact Us form to the firebase. And I can show All messages from the Firebase on the webpage. But I would like to show only for example messages that were belonged to a certain email (for example the messages that were with the last email address that was submitted). My contact us form code: https://github.com/Anara5/itea/blob/master/src/components/ContactUsForm/ContactUsForm.js And my MessageShow component: https://github.com/Anara5/itea/blob/master/src/components/MessageShow/MessageShow.js

20th Jan 2021, 3:23 PM
Anara Zhunusova
Anara Zhunusova - avatar
2 Answers
+ 1
I think it supposed to work like this app message forms, exactly like here. When I could "delete" or "edit" my message also
20th Jan 2021, 3:57 PM
Anara Zhunusova
Anara Zhunusova - avatar
+ 1
Anara Zhunusova I just changed your codes, with some of the changes. With the changes, the code can render with the current user information now. https://code.sololearn.com/cA2a20A11a21/?ref=app Please refer to the comments in order to understand the code changes.
21st Jan 2021, 12:49 PM
CalviŐ˛
CalviŐ˛ - avatar