[web] Use hook instead of connect function and HOC in ForgotPasswordModal
[web] Use hook instead of connect function and HOC in ForgotPasswordModal

Summary: Switched to hooks instead of the connect function in the ForgotPasswordModal class

Test Plan: Checked if the forgot password modal still showed up and functioned properly

Reviewers: palys-swm, ashoat

Reviewed By: ashoat

Subscribers: ashoat, KatPo, zrebcu411, Adrian, atul, karol-bisztyga

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

Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal