From cf30c66c3392c948234f6e8cda2eaf89f7f0bfc6 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 14 Mar 2023 13:11:04 -0500 Subject: [PATCH] Move the profile-ui model to the new ui folder --- src/state/models/{ => ui}/profile-ui.ts | 6 +++--- src/view/screens/Profile.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/state/models/{ => ui}/profile-ui.ts (94%) diff --git a/src/state/models/profile-ui.ts b/src/state/models/ui/profile-ui.ts similarity index 94% rename from src/state/models/profile-ui.ts rename to src/state/models/ui/profile-ui.ts index 89723361..1d4fe28c 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 b5073f28..8344dcef 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'