drinkingvideogames/mixer

View on GitHub
src/actions/game.js

Summary

Maintainability
A
3 hrs
Test Coverage

Showing 2 of 2 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

const gameAdd = (game) => ({
type: constants.game.ADD.SUCCESS,
name: game.name,
userId: game.userId,
url: game.url,
Severity: Major
Found in src/actions/game.js and 1 other location - About 1 hr to fix
src/actions/game.js on lines 12..19

Similar blocks of code found in 2 locations. Consider refactoring.
Open

const gameUpdate = (game) => ({
type: constants.game.UPDATE.SUCCESS,
name: game.name,
userId: game.userId,
url: game.url,
Severity: Major
Found in src/actions/game.js and 1 other location - About 1 hr to fix
src/actions/game.js on lines 3..10

There are no issues that match your filters.

Category
Status