Skip to content

Commit

Permalink
feat: update how back buttons are styled
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Oct 30, 2023
1 parent 1114c60 commit b589515
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/build/passwordless-shared3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const MFAHeader = withOverride(

return (
<Fragment>
<div data-supertokens="headerTitle resetPasswordHeaderTitle">
<div data-supertokens="headerTitle withBackButton">
{claim.loading === false && claim.value?.n.length === 0 ? (
<BackButton onClick={props.onBackButtonClicked} />
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const MFAOTPHeader = withOverride(

return (
<Fragment>
<div data-supertokens="headerTitle resetPasswordHeaderTitle">
<div data-supertokens="headerTitle withBackButton">
{claim.loading === false && claim.value?.n.length === 0 && isSetupAllowed === false ? (
<BackButton onClick={onBackButtonClicked} />
) : (
Expand Down

0 comments on commit b589515

Please sign in to comment.