From dda9881d05d6a44e56e9566a4f2880f50ab804c1 Mon Sep 17 00:00:00 2001 From: tusharv284 Date: Wed, 30 Mar 2022 16:33:16 +0530 Subject: [PATCH] Update AuthModal.js --- src/pages/AuthModal.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/pages/AuthModal.js b/src/pages/AuthModal.js index ca978d0ad..565935a27 100644 --- a/src/pages/AuthModal.js +++ b/src/pages/AuthModal.js @@ -13,6 +13,13 @@ class AuthModal extends React.Component { show: !this.state.show, }); }; + toggle = () => + { + this.setState({ + show : !this.state.show, + }); + }; + } handleAuthState = authState => { this.setState({ @@ -43,5 +50,17 @@ class AuthModal extends React.Component { ); } } +ReadableStreamDefaultReader() +{ + isOpen={this.state.show} + toggle=this.toggle} + size="sm" + fade={false} + centred> + +