diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-05-17 20:24:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 14:24:06 -0500 |
commit | dd0f57e3e3188389bc8ef364e81e4a00405a9a26 (patch) | |
tree | 0d7c2012685185e5a3e3fe942d45058e67e730dc /src/screens/Messages/Settings.tsx | |
parent | 115041f4bfa537579deb4b8aa92ddb200de4d48e (diff) | |
download | voidsky-dd0f57e3e3188389bc8ef364e81e4a00405a9a26.tar.zst |
[🐴] NUX (#4062)
* remove type assertion * DMs NUX * delete button for testing * tweak styles and copy * rm log * style tweaks * reduce amount of words * Fix not showing on first load * Spacing tweaks --------- Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/screens/Messages/Settings.tsx')
-rw-r--r-- | src/screens/Messages/Settings.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/screens/Messages/Settings.tsx b/src/screens/Messages/Settings.tsx index a9c35dba7..7dbf027f9 100644 --- a/src/screens/Messages/Settings.tsx +++ b/src/screens/Messages/Settings.tsx @@ -1,10 +1,8 @@ import React, {useCallback} from 'react' import {View} from 'react-native' -import {AppBskyActorDefs} from '@atproto/api' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {NativeStackScreenProps} from '@react-navigation/native-stack' -import {UseQueryResult} from '@tanstack/react-query' import {CommonNavigatorParams} from '#/lib/routes/types' import {useGate} from '#/lib/statsig/statsig' @@ -30,7 +28,7 @@ export function MessagesSettingsScreen({}: Props) { const {currentAccount} = useSession() const {data: profile} = useProfileQuery({ did: currentAccount!.did, - }) as UseQueryResult<AppBskyActorDefs.ProfileViewDetailed, Error> + }) const {preferences, setPref} = useBackgroundNotificationPreferences() const {mutate: updateDeclaration} = useUpdateActorDeclaration({ |