diff --git a/ui/src/components/EntriesList.tsx b/ui/src/components/EntriesList.tsx index 4fc05895e..1ec329469 100644 --- a/ui/src/components/EntriesList.tsx +++ b/ui/src/components/EntriesList.tsx @@ -9,7 +9,6 @@ interface EntriesListProps { setEntries: (entries: any[]) => void; focusedEntryId: string; setFocusedEntryId: (id: string) => void; - connectionOpen: boolean; listEntryREF: any; onScrollEvent: (isAtBottom:boolean) => void; scrollableList: boolean; @@ -22,7 +21,7 @@ interface EntriesListProps { startTime: number; } -export const EntriesList: React.FC = ({entries, setEntries, focusedEntryId, setFocusedEntryId, connectionOpen, listEntryREF, onScrollEvent, scrollableList, ws, openWebSocket, query, updateQuery, queriedCurrent, queriedTotal, startTime}) => { +export const EntriesList: React.FC = ({entries, setEntries, focusedEntryId, setFocusedEntryId, listEntryREF, onScrollEvent, scrollableList, ws, openWebSocket, query, updateQuery, queriedCurrent, queriedTotal, startTime}) => { const scrollableRef = useRef(null); @@ -38,9 +37,6 @@ export const EntriesList: React.FC = ({entries, setEntries, fo style={{}} updateQuery={updateQuery}/>)} - {!connectionOpen &&
-
{ws.close(); openWebSocket(query);}}>Reconnect
-
}