feat: simplify account creation flow

This commit is contained in:
codytseng 2025-12-23 21:52:32 +08:00
parent cd7c52eda0
commit a880a92748
35 changed files with 1247 additions and 222 deletions

View file

@ -15,13 +15,15 @@ export default function NormalFeed({
areAlgoRelays = false,
isMainFeed = false,
showRelayCloseReason = false,
disable24hMode = false
disable24hMode = false,
onRefresh
}: {
subRequests: TFeedSubRequest[]
areAlgoRelays?: boolean
isMainFeed?: boolean
showRelayCloseReason?: boolean
disable24hMode?: boolean
onRefresh?: () => void
}) {
const { hideUntrustedNotes } = useUserTrust()
const { showKinds } = useKindFilter()
@ -65,6 +67,10 @@ export default function NormalFeed({
{!supportTouch && (
<RefreshButton
onClick={() => {
if (onRefresh) {
onRefresh()
return
}
if (listMode === '24h') {
userAggregationListRef.current?.refresh()
} else {