diff --git a/components/banners.js b/components/banners.js
index 5b45526b..3527d474 100644
--- a/components/banners.js
+++ b/components/banners.js
@@ -35,8 +35,8 @@ export default function WelcomeBanner () {
}
})
useEffect(() => {
- setHidden(me?.hideWelcomeBanner || (!me && window.localStorage.getItem('hideWelcomeBanner')))
- }, [me?.hideWelcomeBanner])
+ setHidden(me?.privates?.hideWelcomeBanner || (!me && window.localStorage.getItem('hideWelcomeBanner')))
+ }, [me?.privates?.hideWelcomeBanner])
if (hidden) return
diff --git a/components/comment.js b/components/comment.js
index 04e7d536..9955efe6 100644
--- a/components/comment.js
+++ b/components/comment.js
@@ -99,7 +99,7 @@ export default function Comment ({
}) {
const [edit, setEdit] = useState()
const me = useMe()
- const isHiddenFreebie = !me?.wildWestMode && !me?.greeterMode && !item.mine && item.freebie && item.wvotes <= 0
+ const isHiddenFreebie = !me?.privates?.wildWestMode && !me?.privates?.greeterMode && !item.mine && item.freebie && item.wvotes <= 0
const [collapse, setCollapse] = useState(
isHiddenFreebie || item?.user?.meMute
? 'yep'
diff --git a/components/discussion-form.js b/components/discussion-form.js
index 5ef05bf7..d2c29997 100644
--- a/components/discussion-form.js
+++ b/components/discussion-form.js
@@ -99,7 +99,7 @@ export function DiscussionForm ({
initial={{
title: item?.title || shareTitle || '',
text: item?.text || '',
- crosspost: me?.nostrCrossposting,
+ crosspost: me?.privates?.nostrCrossposting,
...AdvPostInitial({ forward: normalizeForwards(item?.forwards), boost: item?.boost }),
...SubSelectInitial({ sub: item?.subName || sub?.name })
}}
diff --git a/components/fee-button.js b/components/fee-button.js
index 35c8ed61..1096fbfc 100644
--- a/components/fee-button.js
+++ b/components/fee-button.js
@@ -115,7 +115,7 @@ export default function FeeButton ({ ChildButton = SubmitButton, variant, text,
// freebies: there's only a base cost, it's less than 10, and we have less than 10 sats
const free = total === lines.baseCost?.modifier(0) &&
total <= FREEBIE_BASE_COST_THRESHOLD &&
- me?.sats < FREEBIE_BASE_COST_THRESHOLD
+ me?.privates?.sats < FREEBIE_BASE_COST_THRESHOLD
const feeText = free
? 'free'
: total > 1
diff --git a/components/header.js b/components/header.js
index 255a04ef..1c0cf5b0 100644
--- a/components/header.js
+++ b/components/header.js
@@ -29,10 +29,10 @@ import { clearNotifications } from '../lib/badge'
function WalletSummary ({ me }) {
if (!me) return null
- if (me.hideWalletBalance) {
+ if (me.privates?.hideWalletBalance) {
return