diff --git a/frontend/src/components/RedigeringsVerktoy.tsx b/frontend/src/components/RedigeringsVerktoy.tsx index 8a99fa0..faec604 100644 --- a/frontend/src/components/RedigeringsVerktoy.tsx +++ b/frontend/src/components/RedigeringsVerktoy.tsx @@ -1,4 +1,4 @@ -import { FloppydiskIcon, XMarkIcon } from "@navikt/aksel-icons" +import { FloppydiskIcon, TrashIcon, XMarkIcon } from "@navikt/aksel-icons" import { TextField, Textarea, RadioGroup, Radio, Button, Switch, Heading } from "@navikt/ds-react" import { useState } from "react" import { FeilmeldingsInnholdInterface } from "../interface" @@ -102,8 +102,28 @@ const RedigeringsVerktoy = (props: redigeringsInterface) => { > Avbryt + ) } export default RedigeringsVerktoy; + + + + +const SlettFeilKnapp = (props: {id : number}) => { + const SlettFeil = () => { + axios.delete(`/api/slettfeil/${props.id}`) + } + + return( + + ) +} \ No newline at end of file