mirror of
https://github.com/ivabus/gui
synced 2025-06-07 07:40:27 +03:00
replace packages store
This commit is contained in:
parent
363e8150bc
commit
ed9dcb87a8
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
import type { GUIPackage } from '$libs/types';
|
||||
import { PackageStates } from '$libs/types';
|
||||
import PanelHeader from '@tea/ui/PanelHeader/PanelHeader.svelte';
|
||||
import { packages as packagesStore } from '$libs/stores';
|
||||
import { packagesStore } from '$libs/stores';
|
||||
import MiniPackageCard from '@tea/ui/MiniPackageCard/MiniPackageCard.svelte';
|
||||
import Preloader from '@tea/ui/Preloader/Preloader.svelte';
|
||||
let packages: GUIPackage[] = [];
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/** @type {import('./$types').PageData} */
|
||||
export let data;
|
||||
|
||||
import { packages, featuredPackages } from '$libs/stores';
|
||||
import { packagesStore, featuredPackages } from '$libs/stores';
|
||||
|
||||
import type { Package } from '@tea/ui/types';
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
|||
// }
|
||||
};
|
||||
|
||||
packages.subscribe(setPkg);
|
||||
packagesStore.subscribe(setPkg);
|
||||
featuredPackages.subscribe(setPkg);
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue