Closed popovaevgeniya closed 1 week ago
The changes in this pull request involve modifications to the RiskSection
component within the AddNewRiskForm
. The state variable projectName
has been replaced with riskNameInput
, and the corresponding Select
component for project selection has been removed. A new Field
component for entering the risk name has been introduced, featuring an id
, label, and placeholder. The overall structure of the form remains intact, with other fields retained without changes.
File Path | Change Summary |
---|---|
Clients/src/presentation/components/AddNewRiskForm/RisksSection/index.tsx | - Replaced state variable projectName with riskNameInput initialized as an empty string. - Removed <Select> component for project selection. - Added <Field> component for risk name input with label "Risk name" and placeholder "Write risk name." |
RiskSection
component.project
property from the ProjectRisk
interface, which is directly related to the elimination of project selection functionality in the RiskSection
.🐇
In the form where risks do dwell,
A name for fears, we now can tell.
No more projects, just a risk to claim,
With a field to write, we play the game.
So hop along, let worries cease,
For every risk, we find our peace!
🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes