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(docs-i18n-ru/en): fix crash on "header" stage in tutorial; #668

Merged
merged 1 commit into from
May 6, 2024

Conversation

Voyager101pw
Copy link
Contributor

Привет 👋

Correct: https://github.com/feature-sliced/tutorial-conduit/blob/main/shared/api/auth.server.ts#L51

No correct: EN, RU

Changelog

Мотивация:
Строгое следование туториалу (код и структура приложения используется из примеров), приводит приложение к крашу по завершению этапа с созданием хедара приложения.
crash

Причина:
Проблема заключается в предыдущем этапе, а точнее в примере, где пропустили оператор нулевого слияния (EN, RU).

Решение:
Добавил пропущенный оператор, приведя строк к виду, как в эталонном репозитории, код которого должен совпадать(в теории) с кодом приложения по окончанию туториала.
https://github.com/feature-sliced/tutorial-conduit/blob/main/shared/api/auth.server.ts#L51

Возможно я что-то упустил и Вы можете предложить свое решение проблемы на этапе с хедером.

Copy link

netlify bot commented May 6, 2024

👷 Deploy request for pr-fsd pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit daf23fb

Copy link
Contributor

@illright illright left a comment

Choose a reason for hiding this comment

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

Спасибо за очень подробный репорт! Все верно, это ошибка в тексте туториала. Видимо, в какой-то момент я заметил, что приложение падает, исправил, а в тексте исправить забыл

@illright illright merged commit 3aec50d into feature-sliced:master May 6, 2024
2 checks passed
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.

None yet

2 participants