Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Oct 11, 2022
1 parent 9694827 commit de51497
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/pages/permissions-connect/permissions-connect.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ export default class PermissionConnect extends Component {
approveSnapInstall={(requestId) => {
approvePendingApproval(requestId, {
...permissionsRequest,
permissions: { ...permissionsRequest.permissions },
approvedAccounts: selectedAccountAddresses,
});
this.redirect(true);
Expand Down Expand Up @@ -346,7 +345,6 @@ export default class PermissionConnect extends Component {
approveSnapUpdate={(requestId) => {
approvePendingApproval(requestId, {
...permissionsRequest,
permissions: { ...permissionsRequest.permissions },
approvedAccounts: selectedAccountAddresses,
});
this.redirect(true);
Expand Down

0 comments on commit de51497

Please sign in to comment.