tinofileccia
04/08/2023, 12:53 AMrp_st
04/08/2023, 5:21 AMrp_st
04/08/2023, 5:25 AMonChange
event to the checkbox and set the disabled
attribute of the sign-up button based on the checkbox's state.tinofileccia
04/10/2023, 5:52 AMrp_st
04/10/2023, 6:02 AMtinofileccia
04/10/2023, 6:11 AMtinofileccia
04/10/2023, 6:12 AMtinofileccia
04/10/2023, 6:12 AMtinofileccia
04/10/2023, 6:14 AMtinofileccia
04/10/2023, 6:14 AMjs
const SuperTokensComponentNoSSR = dynamic<React.ComponentProps<typeof SuperTokens.getRoutingComponent>>(
new Promise((res) => res(SuperTokens.getRoutingComponent)),
{ ssr: false }
)
tinofileccia
04/10/2023, 6:14 AMrp_st
04/10/2023, 6:20 AMtinofileccia
04/10/2023, 8:09 PMtinofileccia
04/10/2023, 8:10 PMtinofileccia
04/10/2023, 8:15 PMtinofileccia
04/10/2023, 8:15 PMrp_st
04/11/2023, 5:15 AMtinofileccia
04/11/2023, 5:47 AMhttps://cdn.discordapp.com/attachments/1094062367354138715/1095223600707010580/1681192008.png▾
tinofileccia
04/11/2023, 5:48 AMtinofileccia
04/11/2023, 5:48 AMhttps://cdn.discordapp.com/attachments/1094062367354138715/1095223886615957544/1681192096.png▾
rp_st
04/11/2023, 6:06 AMalisheraituarov
04/11/2023, 6:21 AMtinofileccia
04/11/2023, 6:34 AMalisheraituarov
04/11/2023, 6:34 AMalisheraituarov
04/11/2023, 6:34 AMrp_st
04/11/2023, 6:35 AMalisheraituarov
04/11/2023, 6:49 AMconst SuperTokensComponentNoSSR =
dynamic <
React.ComponentProps <
typeof SuperTokens.getRoutingComponent >>
(new Promise((res) => res(SuperTokens.getRoutingComponent)),
{ ssr: false });
function Auth() {
useEffect(() => {
if (SuperTokens.canHandleRoute() === false) {
redirectToAuth();
}
}, []);
return (
<FullPageCentered>
<ThirdpartyEmailPasswordComponentsOverrideProvider
components={{
EmailPasswordSignInHeader_Override: ({
DefaultComponent,
...props
}) => {
return (
<div>
<div>Overridden header</div>
<DefaultComponent {...props} />
</div>
);
},
}}
>
<SuperTokensComponentNoSSR />
</ThirdpartyEmailPasswordComponentsOverrideProvider>
</FullPageCentered>
);
}
rp_st
04/11/2023, 6:49 AMrp_st
04/11/2023, 6:50 AM<code here>