Skip to content

Commit 3bd19e6

Browse files
committed
IS-3113: Renamet en variabel
1 parent c406ca1 commit 3bd19e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sider/manglendemedvirkning/ManglendeMedvirkningHistorikk.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ function isVurderingResponseDTO(
8787
return "vurderingType" in item;
8888
}
8989

90-
function dateFromHistorikkEntry(a: HistorikkEntry) {
91-
return isVurderingResponseDTO(a)
92-
? new Date(a.createdAt)
93-
: new Date(a.opprettet);
90+
function dateFromHistorikkEntry(historikkEntry: HistorikkEntry) {
91+
return isVurderingResponseDTO(historikkEntry)
92+
? new Date(historikkEntry.createdAt)
93+
: new Date(historikkEntry.opprettet);
9494
}
9595

9696
function sortHistorikkEntriesDesc(a: HistorikkEntry, b: HistorikkEntry) {

0 commit comments

Comments
 (0)