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 de URLs #1465

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Fix de URLs #1465

merged 2 commits into from
Oct 3, 2023

Conversation

dlopezalvas
Copy link
Contributor

@dlopezalvas dlopezalvas commented Sep 28, 2023

@@ -1,9 +1,19 @@
import EmberRouter from '@ember/routing/router';
import config from 'pilasbloques/config/environment';


function sendRouteToParent(route) {
if (!route.includes('react-imported-challenge')) window.parent.postMessage({ route }, '*');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

El if es para que no explote intentando redireccionar a desafio/react-imported-challenge desde react.

Copy link
Contributor

Choose a reason for hiding this comment

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

esto debería estar en un comment

@@ -1,9 +1,19 @@
import EmberRouter from '@ember/routing/router';
import config from 'pilasbloques/config/environment';


function sendRouteToParent(route) {
if (!route.includes('react-imported-challenge')) window.parent.postMessage({ route }, '*');
Copy link
Contributor

Choose a reason for hiding this comment

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

esto debería estar en un comment

@dlopezalvas dlopezalvas marked this pull request as ready for review October 3, 2023 17:41
@dlopezalvas dlopezalvas requested a review from a team as a code owner October 3, 2023 17:41
@asanzo asanzo merged commit bd9fd48 into develop Oct 3, 2023
8 checks passed
@asanzo asanzo deleted the url-change branch October 3, 2023 18:11
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.

Cambios en el URL de Ember deberían gatillar cambios en URL de React
2 participants