Skip to content

Commit 60d6b4b

Browse files
0xrinegadeclaude
andcommitted
fix: Correct import paths for feed components
Fixed broken import paths in user profile feed components: - UserFeedDisplay.tsx: Changed @/lib/feed-events to @/lib/user/feed-events - FeedCharts.tsx: Changed @/types/feed-events to @/lib/user/feed-events Root cause: Feed event types were being imported from incorrect paths Impact: Feed functionality was broken due to module resolution errors Changes: 1. Updated SocialFeedEvent import in UserFeedDisplay.tsx:18 2. Updated FeedEvent (aliased from SocialFeedEvent) import in FeedCharts.tsx:4 The feed system includes: - Real-time SSE updates for social feed events - Unified feed combining social events and browsing history - Event filtering by type, date range, and search - Infinite scroll pagination - Event grouping and stacking - Like/unlike functionality with token gating All feed functionality should now work correctly in user profiles. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 09bfdb4 commit 60d6b4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/user-history/FeedCharts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import React, { useMemo } from 'react';
4-
import { FeedEvent } from '@/types/feed-events';
4+
import { SocialFeedEvent as FeedEvent } from '@/lib/user/feed-events';
55
import { BarChart3, TrendingUp, Users, Heart } from 'lucide-react';
66

77
interface FeedChartsProps {

components/user-history/UserFeedDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
clearCache,
1616
FeedFilters
1717
} from '@/lib/caching/feed-cache';
18-
import { SocialFeedEvent } from '@/lib/feed-events';
18+
import { SocialFeedEvent } from '@/lib/user/feed-events';
1919
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
2020
import {
2121
Loader2,

0 commit comments

Comments
 (0)