From e99b08e36e7b7883686be53c51af4b085cf85f7c Mon Sep 17 00:00:00 2001 From: Kevin Scholten <446792@student.saxion.nl> Date: Tue, 8 Mar 2022 16:21:03 +0100 Subject: [PATCH] Changed unused indexed loop to object only. --- src/frontendMain/kotlin/Welcome.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontendMain/kotlin/Welcome.kt b/src/frontendMain/kotlin/Welcome.kt index 89bb137..0b838d0 100644 --- a/src/frontendMain/kotlin/Welcome.kt +++ b/src/frontendMain/kotlin/Welcome.kt @@ -39,7 +39,7 @@ fun RBuilder.welcome() = child(functionComponent { styledTr { styledTd { b { +"E-mails:" } } } - werknemer?.emails?.forEachIndexed { index, email -> + werknemer?.emails?.forEach { email -> styledTr { styledTd { +email } }