Skip to content

Commit

Permalink
Ønsker å bruke det norske ordet indeks.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnsteingarmo committed Sep 25, 2023
1 parent 374267a commit de744f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const HistorikkIEfKort: React.FC<{
<Label>Har 0 beløp</Label>
</Row>
{historikkISak?.map((rad, i) => (
<HistorikkRad key={i} rad={rad} index={i} />
<HistorikkRad key={i} rad={rad} indeks={i} />
))}
</Grid>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import styled from 'styled-components';

interface HistorikkRadProps {
rad: IGrunnlagsdataPeriodeHistorikk;
index: number;
indeks: number;
}

const Row = styled.div`
display: contents;
`;

const HistorikkRad: React.FC<HistorikkRadProps> = ({ rad, index }) => {
const HistorikkRad: React.FC<HistorikkRadProps> = ({ rad, indeks }) => {
return (
<Row key={index}>
<Row key={indeks}>
<BodyShort size="small">
{`${formaterIsoDato(rad.fom)}
-
Expand Down

0 comments on commit de744f2

Please sign in to comment.