feat(broker-configs): adjust edit button state in read-only mode #373
frontend_pr.yml
on: pull_request_target
build
/
build-and-test
2m 51s
Annotations
2 errors
InputCellViewMode › disables edit button for read-only properties:
frontend/src/components/Brokers/Broker/Configs/TableComponents/InputCell/__test__/InputCellViewMode.spec.tsx#L55
Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
at Object.throwInvalidHookError (node_modules/.pnpm/react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.development.js:16227:9)
at useContext (node_modules/.pnpm/react@18.2.0/node_modules/react/cjs/react.development.js:1618:21)
at Object.<anonymous> (src/components/Brokers/Broker/Configs/TableComponents/InputCell/__test__/InputCellViewMode.spec.tsx:55:31)
|
build / build-and-test
Process completed with exit code 1.
|