diff --git a/packages/web/lib/networking/queries/useGetHome.tsx b/packages/web/lib/networking/queries/useGetHome.tsx index 86a8e521a..b9e68f820 100644 --- a/packages/web/lib/networking/queries/useGetHome.tsx +++ b/packages/web/lib/networking/queries/useGetHome.tsx @@ -170,82 +170,3 @@ export function useGetHomeItems(): HomeItemResponse { error: !!error, } } - -// Fake HomeSubscription data -const source1: HomeItemSource = { - id: 'sub1', - name: 'Tech News', - type: 'NEWSLETTER', - icon: 'https://example.com/icon1.png', - url: 'https://example.com/tech-news', -} - -const source2: HomeItemSource = { - id: 'sub2', - name: 'Daily Updates', - type: 'RSS', - icon: 'https://example.com/icon2.png', - url: 'https://example.com/daily-updates', -} - -// Fake HomeItem data -export const stubHomeItems: HomeItem[] = [ - { - id: 'item1', - date: '2024-05-01', - title: 'Breaking Tech News', - url: 'https://example.com/article1', - source: source1, - previewContent: 'A brief summary of the tech news...', - wordCount: 500, - author: 'John Doe', - broadcastCount: 10, - canArchive: true, - canComment: true, - canDelete: true, - canSave: true, - canShare: true, - dir: 'ltr', - likeCount: 100, - saveCount: 50, - seen_at: '2024-05-02', - thumbnail: 'https://example.com/thumbnail1.png', - }, - { - id: 'item2', - date: '2024-05-03', - title: 'Daily Updates: May 3rd', - url: 'https://example.com/article2', - source: source2, - previewContent: 'A brief summary of the daily updates...', - wordCount: 300, - author: 'Jane Smith', - broadcastCount: 5, - canArchive: false, - canComment: true, - canDelete: false, - canSave: true, - canShare: false, - dir: 'ltr', - likeCount: 75, - saveCount: 30, - seen_at: '2024-05-04', - thumbnail: 'https://example.com/thumbnail2.png', - }, - { - id: 'item3', - date: '2024-05-05', - title: 'In-Depth Analysis', - url: 'https://example.com/article3', - source: source1, - wordCount: 1500, - canArchive: true, - canComment: true, - canDelete: true, - canSave: true, - canShare: true, - likeCount: 200, - saveCount: 120, - seen_at: '2024-05-06', - }, -]