diff --git a/src/components/ErrorBoundary.tsx b/src/components/ErrorBoundary.tsx index 6f79970..9860191 100644 --- a/src/components/ErrorBoundary.tsx +++ b/src/components/ErrorBoundary.tsx @@ -34,7 +34,7 @@ class ErrorBoundaryInner extends Component { this.props.fallback || (

{t('somethingWentWrong')}

-
+            
               {this.state.error
                 ? JSON.stringify(error2json(this.state.error), null, 2)
                     .split('\n')
diff --git a/src/components/Timeline.tsx b/src/components/Timeline.tsx
index 6b8f7c7..45a612d 100644
--- a/src/components/Timeline.tsx
+++ b/src/components/Timeline.tsx
@@ -8,6 +8,7 @@ import { useSettings } from '../hooks/useSetting';
 import { Virtuoso } from 'react-virtuoso';
 import { Loading } from './ui/loading';
 import { useUnlike } from '@/lib/bluesky/hooks/useUnlike';
+import { ErrorBoundary } from './ErrorBoundary';
 
 export function Timeline({ columnNumber = 1 }: { columnNumber: number }) {
   const { columns } = useSettings();
@@ -120,7 +121,9 @@ export function Timeline({ columnNumber = 1 }: { columnNumber: number }) {
           }),
         }}
         itemContent={(index: number) => (
-          
+          
+            
+          
         )}
       />
     
diff --git a/src/routes/profile/$handle/index.lazy.tsx b/src/routes/profile/$handle/index.lazy.tsx index f53e307..51bbc8a 100644 --- a/src/routes/profile/$handle/index.lazy.tsx +++ b/src/routes/profile/$handle/index.lazy.tsx @@ -23,6 +23,7 @@ import { TabList } from '@/components/ui/tab-list'; import { Handle } from '@/components/ui/Handle'; import { Avatar } from '@/components/ui/avatar'; import { Banner } from '@/components/ui/banner'; +import { ErrorBoundary } from '@/components/ErrorBoundary'; export const Route = createLazyFileRoute('/profile/$handle/')({ component: Profile, @@ -76,7 +77,9 @@ function Posts() { List, }} itemContent={(index: number) => ( - + + + )} /> ); @@ -103,7 +106,9 @@ function Reposts() { List, }} itemContent={(index: number) => ( - + + + )} /> ); @@ -130,7 +135,9 @@ function Replies() { List, }} itemContent={(index: number) => ( - + + + )} /> ); @@ -159,7 +166,9 @@ function Media() { List, }} itemContent={(index: number) => ( - + + + )} /> );