Skip to content

Commit

Permalink
fix: redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Jan 24, 2024
1 parent 43a000e commit 372ff08
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/components/AuthWrapperUtils.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@val external window: 'a = "window"

let getValidToken = oStr => {
if oStr !== Some("__failed") && oStr !== Some("") {
oStr
Expand Down
3 changes: 0 additions & 3 deletions src/screens/HyperSwitch/Analytics/Analytics.res
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@get external keyCode: 'a => int = "keyCode"
type window
@val external window: window = "window"
@scope("window") @val external parent: window = "parent"

open LogicUtils

Expand Down
2 changes: 0 additions & 2 deletions src/screens/HyperSwitch/SDKPayment/WebSDK.res
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ open HyperSwitch
open HyperSwitchTypes
open Promise

@val external window: 'a = "window"

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

0 comments on commit 372ff08

Please sign in to comment.