Skip to content

Commit

Permalink
fix: parent removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Jan 24, 2024
1 parent 391847e commit ea24b4a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/components/AuthWrapperUtils.res
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
type parent

@val external window: 'a = "window"
@val @scope("window") external parent: parent = "parent"

let getValidToken = oStr => {
if oStr !== Some("__failed") && oStr !== Some("") {
Expand Down
1 change: 0 additions & 1 deletion src/genericUtils/DOMUtils.res
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ type window
@val external window: window = "window"
@send external click: (Dom.element, unit) => unit = "click"
@send external reset: (Dom.element, unit) => unit = "reset"
@val @scope("window") external parent: window = "parent"
type event
@new
external event: string => event = "Event"
Expand Down
1 change: 0 additions & 1 deletion src/screens/HyperSwitch/SDKPayment/WebSDK.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ open HyperSwitchTypes
open Promise

@val external window: 'a = "window"
@val @scope("window") external parent: 'a = "parent"

type configElements = {
appearanceElement: Js.Json.t,
Expand Down

0 comments on commit ea24b4a

Please sign in to comment.