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

Improved: Code by relocating Party-related functionality from the util module to a dedicated module in store and updating PartyService accordingly.(#121) #928

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

priyanshee1604
Copy link
Contributor

@priyanshee1604 priyanshee1604 commented Jan 30, 2025

Related Issues

#121

Short Description and Why It's Useful

Improved Code by relocating Party-related functionality from the util module to a dedicated module in store and updating PartyService accordingly.

Contribution and Currently Important Rules Acceptance

…l module to a dedicated module in store and updating PartyService accordingly.(hotwax#121)
import * as types from './mutation-types';

const mutations: MutationTree<PartyState> = {
[types.UTIL_PARTY_NAMES_UPDATED] (state, payload) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[types.UTIL_PARTY_NAMES_UPDATED] (state, payload) {
[types.PARTY_NAMES_UPDATED] (state, payload) {

@@ -0,0 +1,2 @@
import { SN_UTIL } from "../util/mutation-types"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
import { SN_UTIL } from "../util/mutation-types"
export const SN_PARTY = 'party'

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.

2 participants