Skip to content

Commit

Permalink
Legger inn manglende hjelpetekst (#6579)
Browse files Browse the repository at this point in the history
  • Loading branch information
hallvardastark authored Sep 12, 2024
1 parent 1dd6f2d commit 36d4040
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/shared-components/src/AksjonspunktHelpText.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Alert, BodyShort } from '@navikt/ds-react';
import React, { ReactNode } from 'react';
import { FormattedMessage, WrappedComponentProps, injectIntl } from 'react-intl';
import { WrappedComponentProps, injectIntl } from 'react-intl';
import styles from './aksjonspunktHelpText.module.css';

interface OwnProps {
Expand All @@ -17,9 +17,7 @@ const AksjonspunktHelpText = ({ isAksjonspunktOpen, children }: OwnProps & Wrapp
<>
{React.Children.map(children, child => (
<BodyShort size="small" className={styles.wordwrap}>
<strong>
<FormattedMessage id="HelpText.Aksjonspunkt.BehandletAksjonspunkt" />
</strong>
<strong>{`Behandlet aksjonspunkt: `}</strong>
{child}
</BodyShort>
))}
Expand Down

0 comments on commit 36d4040

Please sign in to comment.