diff --git a/src/components/AuthWrapperUtils.res b/src/components/AuthWrapperUtils.res index 7143a03b4..7367343ab 100644 --- a/src/components/AuthWrapperUtils.res +++ b/src/components/AuthWrapperUtils.res @@ -1,8 +1,3 @@ -type parent - -@val external window: 'a = "window" -@val @scope("window") external parent: parent = "parent" - let getValidToken = oStr => { if oStr !== Some("__failed") && oStr !== Some("") { oStr diff --git a/src/components/DynamicTableUtils.res b/src/components/DynamicTableUtils.res index 0ed26a256..2bfaf6e7b 100644 --- a/src/components/DynamicTableUtils.res +++ b/src/components/DynamicTableUtils.res @@ -1,7 +1,5 @@ let tableHeadingClass = "font-bold text-xl text-black text-opacity-75 dark:text-white dark:text-opacity-75" type view = Table | Card -@val @scope(("window", "location")) -external reload: unit => unit = "reload" let visibilityColFunc = ( ~dateFormatConvertor: string => option, @@ -248,7 +246,10 @@ module TableLoadingErrorIndicator = { {React.string("Oops, Something Went Wrong! Try again Later.")}