diff --git a/packages/dev-frontend/package.json b/packages/dev-frontend/package.json index 969e1744c..04a349cff 100644 --- a/packages/dev-frontend/package.json +++ b/packages/dev-frontend/package.json @@ -12,7 +12,7 @@ "@popperjs/core": "^2.9.1", "@testing-library/dom": "^7.30.0", "@testing-library/jest-dom": "^5.1.1", - "@testing-library/react": "^9.4.0", + "@testing-library/react": "^11.2.5", "@testing-library/user-event": "^10.0.0", "@types/jest": "^26.0.20", "@types/react": "^17.0.0", diff --git a/packages/dev-frontend/src/components/Trove/Editor.tsx b/packages/dev-frontend/src/components/Trove/Editor.tsx index 36272b248..cbb18a1f8 100644 --- a/packages/dev-frontend/src/components/Trove/Editor.tsx +++ b/packages/dev-frontend/src/components/Trove/Editor.tsx @@ -5,14 +5,15 @@ import { Icon } from "../Icon"; type RowProps = { label: string; + labelId?: string; labelFor?: string; unit?: string; }; -const Row: React.FC = ({ label, labelFor, unit, children }) => { +const Row: React.FC = ({ label, labelId, labelFor, unit, children }) => { return ( -