chore: Reconfigure packages
This commit is contained in:
parent
bdc8cb2038
commit
7cbad594f8
176 changed files with 1506 additions and 1341 deletions
|
@ -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",
|
||||
|
|
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue