fix: transform `feedId` to `inboxId`

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei 2024-10-15 00:18:31 +08:00
parent 3680f66a70
commit d4db563761
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@ export const SortByAlphabeticalListList = ({ view, data }: ListListProps) => {
export const SortByAlphabeticalInboxList = ({ view, data }: ListListProps) => {
return (
<div>
{Object.keys(data).map((inboxId) => (
<InboxItem key={inboxId} inboxId={inboxId} view={view} />
{Object.keys(data).map((feedId) => (
<InboxItem key={feedId} inboxId={feedId.replace("inbox-", "")} view={view} />
))}
</div>
)