Skip to content

Commit

Permalink
Removing the truncating of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehewitt15 committed Sep 2, 2024
1 parent ba17a40 commit e08e7ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions dashboard/src/components/NodePeers/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { useEffect, useState } from 'react'
import styles from './style.module.css'
import Spinner from '../Spinner'
import { truncateString } from '../../shared/utils/truncateString'
import Copy from '../Copy'

export default function NodePeers() {
Expand Down Expand Up @@ -50,7 +49,7 @@ export default function NodePeers() {
{nodePeers.length > 0 ? (
nodePeers.map((address) => (
<div className={styles.nodeAddress} key={address}>
{truncateString(address, 12)} <Copy text={address} />
{address} <Copy text={address} />
</div>
))
) : (
Expand Down
8 changes: 0 additions & 8 deletions dashboard/src/shared/utils/truncateString.ts

This file was deleted.

0 comments on commit e08e7ab

Please sign in to comment.