diff --git a/assets/src/components/detoursTable.tsx b/assets/src/components/detoursTable.tsx index a84046fb1..52eb72e68 100644 --- a/assets/src/components/detoursTable.tsx +++ b/assets/src/components/detoursTable.tsx @@ -41,24 +41,15 @@ export const DetoursTable = ({ data, status }: DetoursTableProps) => ( - + {data === null ? ( + + ) : ( + + )} ) -const DetourRows = ({ - data, - status, -}: { - data: SimpleDetour[] | null - status: DetourStatus -}) => - data === null ? ( - - ) : ( - - ) - const PopulatedDetourRows = ({ data }: { data: SimpleDetour[] }) => { const epochNowInSeconds = useCurrentTimeSeconds()