about summary refs log tree commit diff
path: root/src/state/models
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-21 19:18:15 -0500
committerGitHub <noreply@github.com>2023-03-21 19:18:15 -0500
commit4f814207bcff3eb441e8bc196d274fc6adef5405 (patch)
tree485b4093d115581a81643fee76c220993e105688 /src/state/models
parentf20fb92dc324d1b2b908eabd41899edbe959d5d5 (diff)
downloadvoidsky-4f814207bcff3eb441e8bc196d274fc6adef5405.tar.zst
Merge the suggested actors model with the general suggestion system (#343)
Diffstat (limited to 'src/state/models')
-rw-r--r--src/state/models/discovery/suggested-actors.ts (renamed from src/state/models/suggested-actors-view.ts)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/suggested-actors-view.ts b/src/state/models/discovery/suggested-actors.ts
index 33c73b4e1..cf8e2dd7b 100644
--- a/src/state/models/suggested-actors-view.ts
+++ b/src/state/models/discovery/suggested-actors.ts
@@ -1,7 +1,7 @@
 import {makeAutoObservable, runInAction} from 'mobx'
 import {AppBskyActorProfile as Profile} from '@atproto/api'
 import shuffle from 'lodash.shuffle'
-import {RootStoreModel} from './root-store'
+import {RootStoreModel} from '../root-store'
 import {cleanError} from 'lib/strings/errors'
 import {bundleAsync} from 'lib/async/bundle'
 import {SUGGESTED_FOLLOWS} from 'lib/constants'
@@ -10,7 +10,7 @@ const PAGE_SIZE = 30
 
 export type SuggestedActor = Profile.ViewBasic | Profile.View
 
-export class SuggestedActorsViewModel {
+export class SuggestedActorsModel {
   // state
   pageSize = PAGE_SIZE
   isLoading = false