Refactoring code to use Svelte native "$" store unpacking.

This commit is contained in:
David Négrier 2021-12-24 15:39:28 +01:00
parent a1cfaa0225
commit 840f8626ad
2 changed files with 20 additions and 55 deletions

View file

@ -16,7 +16,6 @@ export const followRoles = {
export const followStateStore = writable(followStates.off);
export const followRoleStore = writable(followRoles.leader);
//export const followUsersStore = writable<number[]>([]);
function createFollowUsersStore() {
const { subscribe, update, set } = writable<number[]>([]);