diff --git a/frontend/src/components/CardsContainer.tsx b/frontend/src/components/CardsContainer.tsx
index 79f45fb..cf18d14 100644
--- a/frontend/src/components/CardsContainer.tsx
+++ b/frontend/src/components/CardsContainer.tsx
@@ -1,4 +1,4 @@
-import FeilCard from "./FeilCard";
+import { FeilCard } from "./FeilCard";
import { Feilmelding } from "../interface.ts";
interface ICardsContainer {
@@ -12,7 +12,15 @@ interface ICardsContainer {
const CardsContainer = (props: ICardsContainer) => {
return (
-
+
+ {/* {props.feilmeldinger.map((feilMelding) => (
+
+ ))} */}
{props.feilmeldinger.map((feilMelding) => (
{
)
}
-const FeilCard = (props: IFeilmelding) => {
- return (
-
-
- {props.tittel}
-
- {props.beskrivelse}
-
-
-
-
- Hællæ
-
-
+// const FeilCard1 = (props: IFeilmelding) => {
+// return (
+//
+//
+// {props.tittel}
+//
+// {props.beskrivelse}
+//
+//
+//
+//
+// Hællæ
+//
+//
+// )
+// }
+// export default FeilCard1;
+
+export const FeilCard = (props: IFeilmelding) => {
+ return(
+
+
+
{props.tittel}
+
{props.beskrivelse}
+
+
+
)
}
-
-export default FeilCard;