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

Remove recreate source/destination as it is not used #11199

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

jamakase
Copy link
Contributor

What

Minor code cleanup. Removes recreate call that is not used anymore.

@jamakase jamakase requested a review from a team as a code owner March 16, 2022 15:19
@github-actions github-actions bot added area/frontend area/platform issues related to the platform labels Mar 16, 2022
@@ -173,17 +166,10 @@ const OnboardingPage: React.FC = () => {
);

try {
if (!!destinations.length) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since this seems to be the root place this was triggered, could you explain when this was triggered earlier, and why this is no longer happening in the app? I am not fully understanding the scenario where this happened and what the user-flow was when this was still in use.

Copy link
Contributor Author

@jamakase jamakase Mar 22, 2022

Choose a reason for hiding this comment

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

TBH I am also not sure when this was happening exactly, but as I remember in the past it was possible to go back and forward during onboarding. So we were recreating destination in some cases. After this functionality was disabled - this endpoint was never called.

Copy link
Collaborator

@timroes timroes left a comment

Choose a reason for hiding this comment

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

Code LGTM, explanation made sense and API calls have been validated against logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform issues related to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants