Skip to content

Commit

Permalink
fix(familie-visittkort): sørger for at kopiert ident ikke er formattert
Browse files Browse the repository at this point in the history
affects: @navikt/familie-visittkort
  • Loading branch information
idaame committed Sep 19, 2023
1 parent cd123e0 commit fcd6429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/familie-visittkort/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const Visittkort: React.FunctionComponent<IProps> = ({

<FlexBox>
{ident}
<CopyButton copyText={ident} size={'small'} />
<CopyButton copyText={ident.replace(' ', '')} size={'small'} />
</FlexBox>

{children}
Expand Down

0 comments on commit fcd6429

Please sign in to comment.