supertokens / supertokens-auth-react

ReactJS authentication module for SuperTokens
https://supertokens.com
Other
260 stars 81 forks source link

Overriding password reset component results in the logo outside the container #786

Open nik2208 opened 5 months ago

nik2208 commented 5 months ago

using the suggested syntax

EmailPasswordResetPasswordEmail_Override: ({ DefaultComponent, ...props }) => {
                        return (
                            //TO-DO tune logo div
                            <div>
                                <div >
                                    <img src="/assets/logo.png" alt="Logo" />
                                </div>
                             </div>
                        );
                    }

for the EmailPasswordResetPasswordEmail_Overridecomonent the result I get is what follows

Screenshot 2024-01-15 at 09 43 25

the html added remains outside the supertokens container