1
0
Fork 0

chore: Reconfigure packages

This commit is contained in:
Joost De Cock 2020-11-18 20:30:14 +01:00
parent bdc8cb2038
commit 7cbad594f8
176 changed files with 1506 additions and 1341 deletions

View file

@ -1,7 +1,7 @@
{
"name": "tutorial",
"homepage": "https://tutorial.freesewing.dev/",
"version": "2.10.5",
"version": "2.10.7",
"private": true,
"dependencies": {
"@freesewing/components": "latest",

View file

@ -18,8 +18,9 @@ const App = (props) => {
// Adds support for loading an external pattern configuration
let recreate
if (window) recreate = window.location.pathname.substr(1).split("/")
if (recreate.length === 3 && recreate[0] === 'from') recreate = { from: recreate[1], id: recreate[2] }
if (window) recreate = window.location.pathname.substr(1).split('/')
if (recreate.length === 3 && recreate[0] === 'from')
recreate = { from: recreate[1], id: recreate[2] }
else recreate = false
return (