The address isn't necessarily unique

This commit is contained in:
Gwilym Inzani 2024-04-20 12:33:24 +01:00
parent 911ea848df
commit dcdbf1069e

View file

@ -4,10 +4,6 @@ import { useMemo, useState } from "react";
const BacktraceListWrapper = styled.div` const BacktraceListWrapper = styled.div`
font-size: 1rem; font-size: 1rem;
position: relative;
width: calc(100vw - 20px);
margin-left: calc(-1 * (100vw - 20px) / 2);
left: 50%;
`; `;
const BacktraceList = styled.ol` const BacktraceList = styled.ol`
@ -54,7 +50,7 @@ function DebugBacktraceDecode({
<BacktraceListWrapper> <BacktraceListWrapper>
<BacktraceList> <BacktraceList>
{backtraceAddresses.map((x, idx) => ( {backtraceAddresses.map((x, idx) => (
<li key={x}> <li key={idx}>
<BacktraceAddressInfo <BacktraceAddressInfo
address={x} address={x}
info={backtraceLocations[idx]} info={backtraceLocations[idx]}