File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 "@types/react" : " ^18.0.28" ,
2727 "@types/react-dom" : " ^18.0.11" ,
2828 "@vitejs/plugin-react" : " ^3.1.0" ,
29+ "prettier" : " ^2.8.8" ,
2930 "typescript" : " ^4.9.3" ,
3031 "vite" : " ^4.2.3"
3132 }
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ const App: React.FunctionComponent<{
3737 if ( ! canvasRef . current ) return ;
3838 const init = async ( ) => {
3939 const client = new SpiffCommerceClient ( { } ) ;
40- await client . initFromIntegrationProduct ( integrationProductId ) ;
4140 const experience = await client . getWorkflowExperience (
4241 undefined ,
4342 undefined ,
Original file line number Diff line number Diff line change @@ -7,7 +7,5 @@ const integrationProduct = '5141150b-8419-4e24-ae3f-9cab47a7920f'; // Sample Ser
77const workflowID = '3b09df2b-8808-4b1c-955a-d4172e706d11' ; // Sample Serving Board Workflow
88
99ReactDOM . createRoot ( document . getElementById ( 'root' ) as HTMLElement ) . render (
10- < React . StrictMode >
11- < App integrationProductId = { integrationProduct } workflowId = { workflowID } />
12- </ React . StrictMode > ,
10+ < App integrationProductId = { integrationProduct } workflowId = { workflowID } /> ,
1311) ;
Original file line number Diff line number Diff line change @@ -1389,9 +1389,9 @@ picocolors@^1.0.0:
13891389 resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz"
13901390 integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
13911391
1392- " pith@git+ https://github.com/spiffdev/pith.git#6fba0bf988b239967cfbcea91eba6fa0cc26631c " :
1392+ " pith@https://github.com/spiffdev/pith.git#6fba0bf988b239967cfbcea91eba6fa0cc26631c " :
13931393 version "4.0.1"
1394- resolved "git+ https://github.com/spiffdev/pith.git#6fba0bf988b239967cfbcea91eba6fa0cc26631c"
1394+ resolved "https://github.com/spiffdev/pith.git#6fba0bf988b239967cfbcea91eba6fa0cc26631c"
13951395 dependencies :
13961396 " @types/offscreencanvas" " ^2019.6.4"
13971397 " @types/raf" " ^3.4.0"
@@ -1414,6 +1414,11 @@ postcss@^8.4.21:
14141414 picocolors "^1.0.0"
14151415 source-map-js "^1.0.2"
14161416
1417+ prettier@^2.8.8 :
1418+ version "2.8.8"
1419+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
1420+ integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
1421+
14171422prop-types@^15.7.2 :
14181423 version "15.8.1"
14191424 resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz"
You can’t perform that action at this time.
0 commit comments