import DIFFICULTIES from 'common/DIFFICULTIES';

export default function getDifficulty(fight) {
  return DIFFICULTIES[fight.difficulty];
}

import DIFFICULTIES from './DIFFICULTIES';

export default function getDifficulty(fight) {
  return DIFFICULTIES[fight.difficulty];
}

Use relative import within common folder
Use relative import within common folder
