Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: solve issue when updating an existing component with a code list #894

Merged
merged 4 commits into from
Aug 22, 2024

Conversation

EmmanuelDemey
Copy link
Collaborator

@EmmanuelDemey EmmanuelDemey commented Aug 22, 2024

and refactor some code

  • creation of a reusable See button
  • move the structure api into the SDK package
  • Create an utility function for saving a component. (this method will manage the choice between a POST and a PUT).

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
19.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

{...props}
type="button"
className="btn btn-default"
onClick={onClick}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pourquoi séparer le onClick des autres props puisqu’on ne l'utilise que là ?

@EmmanuelDemey EmmanuelDemey merged commit 61f13ee into main Aug 22, 2024
1 of 2 checks passed
@EmmanuelDemey EmmanuelDemey deleted the fix/solve-issue-component branch August 22, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants