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

HDS-2535: login modules strict mode fix #1442

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

NikoHelle
Copy link
Contributor

@NikoHelle NikoHelle commented Nov 25, 2024

Description

If items are added directly to the module array, the array size increases and same modules are added twice on second render.

Related Issue

Closes HDS-2535

Motivation and Context

How Has This Been Tested?

Added strict mode emulation to Login story.

Demos:

Login does not work on demo site.

Screenshots (if appropriate):

Add to changelog

  • Added needed line to changelog

Copy link

github-actions bot commented Nov 25, 2024

Test Results

  1 files   64 suites   11m 45s ⏱️
 60 tests  60 ✅ 0 💤 0 ❌
120 runs  120 ✅ 0 💤 0 ❌

Results for commit f1e35ae.

♻️ This comment has been updated with latest results.

@NikoHelle NikoHelle force-pushed the hds-2535-login-modules-fix branch from 08813fc to 753275c Compare November 25, 2024 12:09
Copy link

Preview found from hds-demo docs/preview_1442

Demos

Docs
Core Storybook
React Storybook

@NikoHelle NikoHelle requested a review from a team November 25, 2024 12:54
Copy link
Contributor

@mrTuomoK mrTuomoK left a comment

Choose a reason for hiding this comment

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

Good stuff again 👍

Copy link
Contributor

@timwessman timwessman left a comment

Choose a reason for hiding this comment

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

Good!

If items are added directly to the module array, the array size increases and same modules are added twice on second render.
@NikoHelle NikoHelle force-pushed the hds-2535-login-modules-fix branch from 753275c to f1e35ae Compare December 12, 2024 11:44
@NikoHelle NikoHelle merged commit fe333c5 into development Dec 12, 2024
8 checks passed
@NikoHelle NikoHelle deleted the hds-2535-login-modules-fix branch December 12, 2024 12: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.

3 participants