File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
58
58
// ...
59
59
actions: {
60
60
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61
- if (state .count + rootState .count % 2 === 1 ) {
61
+ if (( state .count + rootState .count ) % 2 === 1 ) {
62
62
commit (' increment' )
63
63
}
64
64
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
58
58
// ...
59
59
actions: {
60
60
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61
- if (state .count + rootState .count % 2 === 1 ) {
61
+ if (( state .count + rootState .count ) % 2 === 1 ) {
62
62
commit (' increment' )
63
63
}
64
64
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
58
58
// ...
59
59
actions: {
60
60
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61
- if (state .count + rootState .count % 2 === 1 ) {
61
+ if (( state .count + rootState .count ) % 2 === 1 ) {
62
62
commit (' increment' )
63
63
}
64
64
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
58
58
// ...
59
59
actions: {
60
60
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61
- if (state .count + rootState .count % 2 === 1 ) {
61
+ if (( state .count + rootState .count ) % 2 === 1 ) {
62
62
commit (' increment' )
63
63
}
64
64
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
58
58
// ...
59
59
actions: {
60
60
incrementIfOddOnRootSum ({ state, commit, rootState }) {
61
- if (state .count + rootState .count % 2 === 1 ) {
61
+ if (( state .count + rootState .count ) % 2 === 1 ) {
62
62
commit (' increment' )
63
63
}
64
64
}
You can’t perform that action at this time.
0 commit comments