@@ -125,7 +125,7 @@ module ResultPane = {
125125 <div className = {"p-2 " ++ highlightClass }>
126126 <span className = prefixColor > {React .string (prefixText )} </span >
127127 <span className = "font-medium text-gray-40" >
128- {React .string (j ` Line $row, column $column:` )}
128+ {React .string (` Line ${ row-> Belt.Int.toString} , column ${ column-> Belt.Int.toString} :` )}
129129 </span >
130130 <AnsiPre className = "whitespace-pre-wrap " > shortMsg </AnsiPre >
131131 </div >
@@ -247,7 +247,7 @@ module ResultPane = {
247247 "Formatting completed with 0 errors"
248248 } else {
249249 let toStr = Api .Lang .toString (toLang )
250- j ` Switched to $toStr with 0 errors`
250+ ` Switched to ${ toStr} with 0 errors`
251251 }
252252 <PreWrap > {React .string (msg )} </PreWrap >
253253 | Conv (Fail ({fromLang , toLang , details })) =>
@@ -268,11 +268,11 @@ module ResultPane = {
268268 // We keep both cases though in case we change things later
269269 let msg = if fromLang === toLang {
270270 let langStr = Api .Lang .toString (toLang )
271- j ` The code is not valid $langStr syntax.`
271+ ` The code is not valid ${ langStr} syntax.`
272272 } else {
273273 let fromStr = Api .Lang .toString (fromLang )
274274 let toStr = Api .Lang .toString (toLang )
275- j ` Could not convert from "$fromStr" to "$toStr" due to malformed syntax:`
275+ ` Could not convert from "${ fromStr} " to "${ toStr} " due to malformed syntax:`
276276 }
277277 <div >
278278 <PreWrap className = "text-16 mb-4" > {React .string (msg )} </PreWrap >
@@ -310,7 +310,9 @@ module ResultPane = {
310310 | Nothing =>
311311 let syntax = Api .Lang .toString (targetLang )
312312 <PreWrap >
313- {React .string (j ` This playground is now running on compiler version $compilerVersion with $syntax syntax` )}
313+ {React .string (
314+ ` This playground is now running on compiler version ${compilerVersion} with ${syntax} syntax` ,
315+ )}
314316 </PreWrap >
315317 }
316318
@@ -1053,7 +1055,7 @@ module ControlPanel = {
10531055 }
10541056
10551057 module ShareButton = {
1056- let copyToClipboard : string => bool = %raw (j `
1058+ let copyToClipboard : string => bool = %raw (`
10571059 function (str ) {
10581060 try {
10591061 const el = document .createElement (' textarea' );
@@ -1406,7 +1408,7 @@ module App = {
14061408// Feel free to play around and compile some
14071409// ReScript code!
14081410
1409- let initialReContent = j ` Js.log("Hello Reason 3.6!");`
1411+ let initialReContent = ` Js.log("Hello Reason 3.6!");`
14101412
14111413let default = (~props : Try .props ) => {
14121414 let router = Next .Router .useRouter ()
0 commit comments