refactor: note list component

This commit is contained in:
codytseng
2025-08-11 22:34:48 +08:00
parent 96ed0757de
commit e78e2c2078
13 changed files with 766 additions and 419 deletions

View File

@@ -1,4 +1,4 @@
import NoteList from '@/components/NoteList'
import NormalFeed from '@/components/NormalFeed'
import RelayInfo from '@/components/RelayInfo'
import SaveRelayDropdownMenu from '@/components/SaveRelayDropdownMenu'
import SearchInput from '@/components/SearchInput'
@@ -52,10 +52,10 @@ const RelayPage = forwardRef(({ url, index }: { url?: string; index?: number },
/>
</div>
)}
<NoteList
relayUrls={[normalizedUrl]}
needCheckAlgoRelay
filter={debouncedInput ? { search: debouncedInput } : {}}
<NormalFeed
subRequests={[
{ urls: [normalizedUrl], filter: debouncedInput ? { search: debouncedInput } : {} }
]}
/>
</SecondaryPageLayout>
)