Skip to content

Commit

Permalink
fix(app): fix spa router
Browse files Browse the repository at this point in the history
  • Loading branch information
matschik committed Mar 4, 2024
1 parent a7df4a3 commit 38ccf6c
Show file tree
Hide file tree
Showing 10 changed files with 4,980 additions and 1,974 deletions.
14 changes: 8 additions & 6 deletions frameworks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,13 @@ const frameworks = [
},
];

export function matchFrameworkId(id){
return frameworks.find((framework) =>
framework.id === id ||
(framework.isCurrentVersion &&
framework.frameworkName.toLowerCase() === id))
export function matchFrameworkId(id) {
return frameworks.find(
(framework) =>
framework.id === id ||
(framework.isCurrentVersion &&
framework.frameworkName.toLowerCase() === id)
);
}

export default frameworks;
export default frameworks;
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"classnames": "^2.5.1",
"eslint-plugin-svelte": "^2.35.1",
"heroiconsvelte": "^1.0.2",
"svelte-router-spa": "^7.0.1"
"radix3": "^1.1.0"
},
"devDependencies": {
"@angular-eslint/eslint-plugin": "^17.2.1",
Expand Down Expand Up @@ -57,6 +57,7 @@
"esm": "^3.2.25",
"eta": "^3.2.0",
"folder-hash": "^4.0.4",
"html-minifier-terser": "^7.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"lit": "^3.1.2",
Expand Down
Loading

0 comments on commit 38ccf6c

Please sign in to comment.