Skip to content

Commit

Permalink
temp: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
BastienFaivre committed Dec 26, 2024
1 parent b6d6cad commit 26fe493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const App: React.FC = () => {
<Typography variant="caption">Temp</Typography>
{temp.map((item, index) => (
<Typography key={index} variant="caption">
{item.length > 30 ? `${item.slice(0, 5)}...${item.slice(-5)}` : item}
{BigInt(item).toString(16).length > 30 ? `${BigInt(item).toString(16).slice(0, 5)}...${BigInt(item).toString(16).slice(-5)}` : BigInt(item).toString(16)}
</Typography>
))}
</Stack>
Expand Down

0 comments on commit 26fe493

Please sign in to comment.