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

Fixed version tab render issue #744

Open
wants to merge 4 commits into
base: 1.x
Choose a base branch
from

Conversation

Corepex
Copy link
Contributor

@Corepex Corepex commented Nov 26, 2024

Changes in this pull request

Resolves #646 and #651

Additional info

This pull request includes changes to the create-version-accordion-item-functions.tsx file to replace useTranslation with i18n for translation functionality and to refactor the component structure. Additionally, there is a minor formatting change in the versions-container.tsx file.

Translation changes:

  • Replaced useTranslation with i18n for all translation calls in create-version-accordion-item-functions.tsx [1] [2] [3] [4] [5] [6] [7] [8] [9].

Component refactoring:

  • Moved state management for deletingVersion and publishingVersion into a new Component function within create-version-accordion-item-functions.tsx [1] [2] [3].

Formatting change:

  • Adjusted the import statement formatting in versions-container.tsx for better readability.

@Corepex Corepex self-assigned this Nov 26, 2024
@Corepex Corepex requested review from markus-moser and vin0401 and removed request for markus-moser November 26, 2024 13:59
@Corepex Corepex requested a review from vin0401 November 27, 2024 14:40
Copy link

sonarcloud bot commented Nov 27, 2024

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.

[Bug] adding a delete action results in an error
2 participants