Skip to content

Commit

Permalink
ref(tsc): Convert AccountSecurityDetails to FC
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurKnaus committed Aug 28, 2024
1 parent 7e0fe49 commit c034581
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ describe('AccountSecurityDetails', function () {
render(
<AccountSecurityWrapper {...routerProps}>
<AccountSecurityDetails
{...routerProps}
onRegenerateBackupCodes={jest.fn()}
deleteDisabled={false}
/>
Expand Down Expand Up @@ -93,7 +92,6 @@ describe('AccountSecurityDetails', function () {
render(
<AccountSecurityWrapper {...routerProps}>
<AccountSecurityDetails
{...routerProps}
onRegenerateBackupCodes={jest.fn()}
deleteDisabled={false}
/>
Expand Down Expand Up @@ -133,7 +131,6 @@ describe('AccountSecurityDetails', function () {
render(
<AccountSecurityWrapper {...routerProps}>
<AccountSecurityDetails
{...routerProps}
onRegenerateBackupCodes={jest.fn()}
deleteDisabled={false}
/>
Expand Down Expand Up @@ -174,7 +171,6 @@ describe('AccountSecurityDetails', function () {
render(
<AccountSecurityWrapper {...routerProps}>
<AccountSecurityDetails
{...routerProps}
onRegenerateBackupCodes={jest.fn()}
deleteDisabled={false}
/>
Expand Down Expand Up @@ -223,7 +219,6 @@ describe('AccountSecurityDetails', function () {
render(
<AccountSecurityWrapper {...routerProps}>
<AccountSecurityDetails
{...routerProps}
onRegenerateBackupCodes={jest.fn()}
deleteDisabled={false}
/>
Expand Down Expand Up @@ -255,7 +250,6 @@ describe('AccountSecurityDetails', function () {
render(
<AccountSecurityWrapper {...routerProps}>
<AccountSecurityDetails
{...routerProps}
onRegenerateBackupCodes={jest.fn()}
deleteDisabled={false}
/>
Expand Down Expand Up @@ -298,7 +292,6 @@ describe('AccountSecurityDetails', function () {
render(
<AccountSecurityWrapper {...routerProps}>
<AccountSecurityDetails
{...routerProps}
onRegenerateBackupCodes={jest.fn()}
deleteDisabled={false}
/>
Expand Down
Loading

0 comments on commit c034581

Please sign in to comment.