Skip to content

Commit

Permalink
fix: popup height
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvvvv1vvvvvv committed Sep 28, 2023
1 parent 9d3fa22 commit 859e2c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/views/CommonPopup/CancelApproval/CancelApproval.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const CancelApproval = () => {
if (displayBlockedRequestApproval && displayCancelAllApproval) {
setHeight(288);
} else {
setHeight(226);
setHeight(244);
}
wallet.getPendingApprovalCount().then(setPendingApprovalCount);
}, [displayBlockedRequestApproval, displayCancelAllApproval]);
Expand Down
2 changes: 1 addition & 1 deletion src/ui/views/CommonPopup/CancelConnect/CancelConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const CancelConnect = () => {
React.useEffect(() => {
setTitle(t('page.signFooterBar.cancelConnection'));

setHeight(226);
setHeight(244);
}, [displayBlockedRequestApproval]);

const handleBlockedRequestApproval = () => {
Expand Down

0 comments on commit 859e2c6

Please sign in to comment.