File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3131 },
3232 "scripts" : {
3333 "build" : " snowpack build" ,
34- "build:res" : " bsb -make-world " ,
34+ "build:res" : " rescript build -with-deps " ,
3535 "clean" : " npm run clean:res" ,
36- "clean:res" : " bsb - clean-world " ,
36+ "clean:res" : " rescript clean" ,
3737 "start" : " snowpack dev" ,
3838 "test" : " web-test-runner \" src/**/__tests__/*.bs.js\" "
3939 },
4949 "@snowpack/web-test-runner-plugin" : " ^0.2.2" ,
5050 "@testing-library/react" : " ^11.2.6" ,
5151 "@web/test-runner" : " ^0.12.19" ,
52- "bs-platform" : " ^9.0.2" ,
5352 "chai" : " ^4.3.4" ,
53+ "rescript" : " ^9.1.0" ,
5454 "snowpack" : " ^3.2.2"
5555 }
5656}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ let make = () => {
2222 </p >
2323 <p >
2424 {React .string ("Page has been open for " )}
25- <code > {React .string (Printf . sprintf ( "%.1f" , count /. 10 .))} </code >
25+ <code > {React .string (Js . Float . toFixedWithPrecision ( count /. 10 ., ~ digits = 1 ))} </code >
2626 {React .string (" seconds" )}
2727 </p >
2828 <a className = "App-link" href = "https://reactjs.org" target = "_blank" rel = "noopener noreferrer" >
You can’t perform that action at this time.
0 commit comments