Skip to content

Commit

Permalink
Minor Ui changes and bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Riddhi Agrawal committed Nov 28, 2023
1 parent ff01642 commit a11170a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ let make = (~connectProcessorValue: connectProcessor) => {
amount=100
returnUrl={`${HSwitchGlobalVars.hyperSwitchFEPrefix}/quick-start`}
onProceed={updateTestPaymentEnum}
keyValue=""
keyValue={Js.Date.now()->Js.Float.toString}
sdkWidth="w-full"
/>
</QuickStartUIUtils.BaseComponent>
</div>
Expand Down
4 changes: 0 additions & 4 deletions src/screens/HyperSwitch/SDKPayment/SDKPage.res
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ let make = () => {
RescriptReactRouter.replace(`/payments/${id}`)
}

let customTryAgain = () => {
RescriptReactRouter.replace("/sdk")
setIsSDKOpen(_ => false)
}
let onSubmit = (values, _) => {
open LogicUtils
let valueDict = values->getDictFromJsonObject
Expand Down
2 changes: 1 addition & 1 deletion src/screens/HyperSwitch/SDKPayment/TestPayment.res
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ let make = (
{switch clientSecret {
| Some(val) =>
if isTestCredsNeeded {
<div className="flex gap-8 bg-blue-600">
<div className="flex gap-8">
<div className=sdkWidth>
<WebSDK
clientSecret=val
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ module TestPayment = {
amount=100
returnUrl={`${HSwitchGlobalVars.hyperSwitchFEPrefix}/stripe-plus-paypal`}
onProceed={sptestPaymentProceed}
keyValue=""
keyValue={Js.Date.now()->Js.Float.toString}
sdkWidth="w-full"
/>
</QuickStartUIUtils.BaseComponent>
}
Expand Down

0 comments on commit a11170a

Please sign in to comment.