Skip to content

Commit

Permalink
[frontend] fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenVoich committed Aug 18, 2023
1 parent 9f4e52a commit b0d1d07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/components/Package.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@
$: githubDeps = packageDetails?.config.dependencies.filter(dep => dep.repo);
let load = debounce(10, async () => {
console.log(pkgName, loaded, pkgName === packageDetails?.config.name, !pkgVersion, pkgVersion === packageDetails?.config.version)
let sameVersion = (pkgVersion || getHighestVersion()) === packageDetails?.config.version;
if (!pkgName || loaded && pkgName === packageDetails?.config.name && sameVersion) {
return;
}
console.log('re')
loaded = false;
let ver = pkgVersion || 'highest';
Expand Down

0 comments on commit b0d1d07

Please sign in to comment.