diff --git a/web/src/components/Logs/index.tsx b/web/src/components/Logs/index.tsx index 41907e4..06d7fbb 100644 --- a/web/src/components/Logs/index.tsx +++ b/web/src/components/Logs/index.tsx @@ -19,6 +19,10 @@ type LogsProps = { lease: Beta2Lease | Beta3Lease; } +function trimPodName(name: string) { + return name.split('-')[0]; +} + export const Logs: React.FC = ({ lease }) => { const { networkType } = getRpcNode(); const { data: provider } = useQuery( @@ -111,9 +115,9 @@ export const Logs: React.FC = ({ lease }) => {