Skip to content

Fix multiple platform creation #2023

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

Merged
merged 3 commits into from
Jun 14, 2025
Merged

Fix multiple platform creation #2023

merged 3 commits into from
Jun 14, 2025

Conversation

ItzNotABug
Copy link
Member

@ItzNotABug ItzNotABug commented Jun 14, 2025

What does this PR do?

Fixes a bug where copying code snippets in the Create Platform wizard would trigger an additional request to the Platforms API, resulting in duplicate platforms.

This happened because the Code component was rendered inside a Form, and clicking the Copy code button inadvertently triggered a form submission.

See -

Screen.Recording.2025-06-14.at.5.08.20.PM.mov

Test Plan

Manual.

Related PRs and Issues

N/A.

Have you read the Contributing Guidelines on issues?

Yes.

@ItzNotABug ItzNotABug self-assigned this Jun 14, 2025
@ItzNotABug
Copy link
Member Author

E2E failing due to Stage being down atm.

@ItzNotABug ItzNotABug merged commit 3ecaba5 into main Jun 14, 2025
2 of 3 checks passed
@ItzNotABug ItzNotABug deleted the fix-pro-1919 branch June 14, 2025 12:21
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