diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-14 13:11:04 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-03-14 13:11:04 -0500 |
commit | cf30c66c3392c948234f6e8cda2eaf89f7f0bfc6 (patch) | |
tree | 8bdf052beb0cfc43cb89dcd6dac526dedc7b7f86 /src | |
parent | acf0f80de2a7a96ad8ee58dbf6aa8cb59859c9e8 (diff) | |
download | voidsky-cf30c66c3392c948234f6e8cda2eaf89f7f0bfc6.tar.zst |
Move the profile-ui model to the new ui folder
Diffstat (limited to 'src')
-rw-r--r-- | src/state/models/ui/profile-ui.ts (renamed from src/state/models/profile-ui.ts) | 6 | ||||
-rw-r--r-- | src/view/screens/Profile.tsx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/state/models/profile-ui.ts b/src/state/models/ui/profile-ui.ts index 89723361a..1d4fe28cd 100644 --- a/src/state/models/profile-ui.ts +++ b/src/state/models/ui/profile-ui.ts @@ -1,7 +1,7 @@ import {makeAutoObservable} from 'mobx' -import {RootStoreModel} from './root-store' -import {ProfileViewModel} from './profile-view' -import {FeedModel} from './feed-view' +import {RootStoreModel} from '../root-store' +import {ProfileViewModel} from '../profile-view' +import {FeedModel} from '../feed-view' export enum Sections { Posts = 'Posts', diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx index b5073f28d..8344dcef2 100644 --- a/src/view/screens/Profile.tsx +++ b/src/view/screens/Profile.tsx @@ -6,7 +6,7 @@ import {NativeStackScreenProps, CommonNavigatorParams} from 'lib/routes/types' import {withAuthRequired} from 'view/com/auth/withAuthRequired' import {ViewSelector} from '../com/util/ViewSelector' import {CenteredView} from '../com/util/Views' -import {ProfileUiModel, Sections} from 'state/models/profile-ui' +import {ProfileUiModel, Sections} from 'state/models/ui/profile-ui' import {useStores} from 'state/index' import {ProfileHeader} from '../com/profile/ProfileHeader' import {FeedItem} from '../com/posts/FeedItem' |