Switch (mostly) from blocklists to mutelists

This commit is contained in:
Paul Frazee
2023-05-05 12:41:27 -05:00
parent 806e52705d
commit caf289d1d5
4 changed files with 18 additions and 19 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ export class ListsListModel {
constructor(
public rootStore: RootStoreModel,
public source: 'blocklists' | string,
public source: 'mutelists' | string,
) {
makeAutoObservable(
this,
@@ -62,7 +62,7 @@ export class ListsListModel {
this._xLoading(replace)
try {
let res
if (this.source === 'blocklists') {
if (this.source === 'mutelists') {
res = await this.rootStore.agent.app.bsky.graph.getListBlocks({
limit: PAGE_SIZE,
cursor: replace ? undefined : this.loadMoreCursor,