diff options
Diffstat (limited to 'src/state/models/notifications-view.ts')
-rw-r--r-- | src/state/models/notifications-view.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/models/notifications-view.ts b/src/state/models/notifications-view.ts index 72cc17f6b..3a91eb322 100644 --- a/src/state/models/notifications-view.ts +++ b/src/state/models/notifications-view.ts @@ -4,6 +4,7 @@ import {RootStoreModel} from './root-store' import {Declaration} from './_common' import {hasProp} from '../lib/type-guards' import {APP_BSKY_GRAPH} from '../../third-party/api' +import {cleanError} from '../../view/lib/strings' const UNGROUPABLE_REASONS = ['trend', 'assertion'] @@ -215,7 +216,7 @@ export class NotificationsViewModel { this.isLoading = false this.isRefreshing = false this.hasLoaded = true - this.error = err + this.error = cleanError(err) } // loader functions |