diff --git a/ui-common/src/components/TrafficViewer/EntryDetailed.tsx b/ui-common/src/components/TrafficViewer/EntryDetailed.tsx index a139e8209..715439ddd 100644 --- a/ui-common/src/components/TrafficViewer/EntryDetailed.tsx +++ b/ui-common/src/components/TrafficViewer/EntryDetailed.tsx @@ -110,8 +110,8 @@ export const EntryDetailed = () => { const [entryData, setEntryData] = useState(null); useEffect(() => { - if (!focusedEntryId) return; - setEntryData(null); + setEntryData(null); + if (!focusedEntryId) return; setIsLoading(true); (async () => { try {