diff --git a/apps/frontend/.eslintrc.js b/apps/frontend/.eslintrc.js index bbb4be0b7..d993d4963 100644 --- a/apps/frontend/.eslintrc.js +++ b/apps/frontend/.eslintrc.js @@ -33,6 +33,7 @@ module.exports = { "import/no-default-export": "error", "simple-import-sort/imports": "error", "simple-import-sort/exports": "error", + "you-dont-need-lodash-underscore/capitalize": "off", "@typescript-eslint/consistent-type-imports": ["warn"], ...IGNORED_UNICORN_RULES, }, diff --git a/apps/frontend/src/components/team/EditMembersModal.tsx b/apps/frontend/src/components/team/EditMembersModal.tsx index 9b800a215..da5c0d3ec 100644 --- a/apps/frontend/src/components/team/EditMembersModal.tsx +++ b/apps/frontend/src/components/team/EditMembersModal.tsx @@ -1,7 +1,7 @@ import { css } from "@emotion/css"; import { yupResolver } from "@hookform/resolvers/yup"; import { PencilFillIcon, PlusCircleFillIcon, TrashFillIcon } from "@navikt/aksel-icons"; -import { Button, Heading, Label, Modal, TextField } from "@navikt/ds-react"; +import { Button, Label, Modal, TextField } from "@navikt/ds-react"; import * as React from "react"; import { useState } from "react"; import { Controller, FormProvider, useForm, useFormContext } from "react-hook-form"; @@ -27,12 +27,7 @@ export function EditMembersModal({ updateMemberOfTeamMutation: UseMutationResult; }) { return ( - - - - Endre medlemmer - - +
{ const { onClose, title, isOpen, teams } = properties; return ( <> - - - - {title} - - + { }, [isOpen]); return ( - - - - {title} - - +
{ }, [isOpen]); return ( - onClose()} - open={isOpen} - > - - - {title} - - + onClose()} open={isOpen}> { return ( - onClose()} - open={isOpen} - > - - - {title} - - + { const { onClose, title, isOpen, memberships } = properties; return ( - - - - {title} - - + { }); return ( - <> - - - - {title} - - - - - Hvis "Åpne e-postklient" knappen ikke fungerer bruk "Kopier e-post" knappen og lim dette inn i din - e-postklient - - - - - - - - + + + + Hvis "Åpne e-postklient" knappen ikke fungerer bruk "Kopier e-post" knappen og lim dette inn i din + e-postklient + + + + + + + ); };