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 = {
5858 // ...
5959 actions: {
6060 incrementIfOddOnRootSum ({ state, commit, rootState }) {
61- if (state .count + rootState .count % 2 === 1 ) {
61+ if (( state .count + rootState .count ) % 2 === 1 ) {
6262 commit (' increment' )
6363 }
6464 }
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
5858 // ...
5959 actions: {
6060 incrementIfOddOnRootSum ({ state, commit, rootState }) {
61- if (state .count + rootState .count % 2 === 1 ) {
61+ if (( state .count + rootState .count ) % 2 === 1 ) {
6262 commit (' increment' )
6363 }
6464 }
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
5858 // ...
5959 actions: {
6060 incrementIfOddOnRootSum ({ state, commit, rootState }) {
61- if (state .count + rootState .count % 2 === 1 ) {
61+ if (( state .count + rootState .count ) % 2 === 1 ) {
6262 commit (' increment' )
6363 }
6464 }
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
5858 // ...
5959 actions: {
6060 incrementIfOddOnRootSum ({ state, commit, rootState }) {
61- if (state .count + rootState .count % 2 === 1 ) {
61+ if (( state .count + rootState .count ) % 2 === 1 ) {
6262 commit (' increment' )
6363 }
6464 }
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const moduleA = {
5858 // ...
5959 actions: {
6060 incrementIfOddOnRootSum ({ state, commit, rootState }) {
61- if (state .count + rootState .count % 2 === 1 ) {
61+ if (( state .count + rootState .count ) % 2 === 1 ) {
6262 commit (' increment' )
6363 }
6464 }
You can’t perform that action at this time.
0 commit comments