feat: bypass IndexedDB cache when viewing user profile

This commit is contained in:
codytseng
2025-05-20 23:16:49 +08:00
parent e3c8dc838d
commit 5c39413420
3 changed files with 4 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ import Relays from './Relays'
const ProfilePage = forwardRef(({ id, index }: { id?: string; index?: number }, ref) => {
const { t } = useTranslation()
const { push } = useSecondaryPage()
const { profile, isFetching } = useFetchProfile(id)
const { profile, isFetching } = useFetchProfile(id, true)
const { pubkey: accountPubkey } = useNostr()
const { mutePubkeys } = useMuteList()
const { followings } = useFetchFollowings(profile?.pubkey)