This commit is contained in:
Gala
2022-12-19 15:27:35 +01:00
committed by Jon Häggblad
parent 9a077a0928
commit e6bcd706ff
+2 -2
View File
@@ -1,10 +1,10 @@
import React from 'react';
import { Stack, Typography, Tooltip } from '@mui/material';
import { Stack, Typography } from '@mui/material';
import { CopyToClipboard } from '@nymproject/react/clipboard/CopyToClipboard';
import { splice } from 'src/utils';
export const IdentityKey = ({ identityKey }: { identityKey: string }) => (
<Stack direction="row" width="fit-content">
<Stack direction="row">
<Typography variant="body2" component="span" fontWeight={400} sx={{ mr: 1, color: 'text.primary' }}>
{splice(6, identityKey)}
</Typography>