Skip to content

Commit

Permalink
Merge pull request #2 from chainapsis/delivan/sidepanel-2
Browse files Browse the repository at this point in the history
Replace `window.close` to `handleExternalInteractionWithNoProceedNext`
  • Loading branch information
Thunnini authored Aug 2, 2024
2 parents 7f361bc + 2c7dd9a commit 4c73cae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { Gutter } from "../../../components/gutter";
import { FormattedMessage, useIntl } from "react-intl";
import { useTheme } from "styled-components";
import { Dropdown } from "../../../components/dropdown";
import { handleExternalInteractionWithNoProceedNext } from "../../../utils";

export const PermissionBasicAccessForEVMPage: FunctionComponent<{
data: {
Expand Down Expand Up @@ -60,7 +61,7 @@ export const PermissionBasicAccessForEVMPage: FunctionComponent<{
interactionInfo.interaction &&
!interactionInfo.interactionInternal
) {
window.close();
handleExternalInteractionWithNoProceedNext();
}
}
},
Expand Down

0 comments on commit 4c73cae

Please sign in to comment.