Skip to content

Commit

Permalink
Restore preprod and preview export to runner buttons (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
palas authored Oct 17, 2023
1 parent 0768b36 commit d499e9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions marlowe-playground-client/src/ExportToRunner.purs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ exportToRunnerForm contractString _state =
, div_
do
(title /\ url) <-
[ ("Mainnet" /\ "https://mainnet.runner.marlowe.iohk.io/")
, ("Preprod" /\ "https://preprod.runner.marlowe.iohk.io/")
[ ("Preprod" /\ "https://preprod.runner.marlowe.iohk.io/")
, ("Preview" /\ "https://preview.runner.marlowe.iohk.io/")
]
pure $ a
Expand Down
6 changes: 6 additions & 0 deletions marlowe-playground-client/src/Page/Simulation/View.purs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,12 @@ startSimulationWidget
, onClick $ const DownloadAsJson
]
[ text "Download as JSON" ]
, button
[ classNames
[ "btn", "bold", "flex-1", "max-w-[15rem]", "mx-2" ]
, onClick $ const ExportToRunner
]
[ text "Export to Marlowe Runner" ]
, button
[ classNames
[ "btn", "bold", "flex-1", "max-w-[15rem]", "mx-2" ]
Expand Down

0 comments on commit d499e9e

Please sign in to comment.