Skip to content

Conversation

@kpetrov24exoft
Copy link
Contributor

No description provided.

@kpetrov24exoft kpetrov24exoft requested a review from nsemets June 4, 2025 14:41
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not use store instead of service directly?

Copy link
Contributor Author

@kpetrov24exoft kpetrov24exoft Jun 5, 2025

Choose a reason for hiding this comment

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

if request doesn't affect store, I use service directly, for example request to resend confirmation email

Copy link
Contributor Author

Choose a reason for hiding this comment

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

though for makePrimary(), I should change it to use store

Copy link
Collaborator

Choose a reason for hiding this comment

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

Why dispatch an action in state?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because ater I add new email, I need automatically update list of emails and for consistency it's better to get them from server

@kpetrov24exoft kpetrov24exoft merged commit a60e919 into main Jun 10, 2025
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