ifmeorg/ifme

View on GitHub
client/app/components/Story/StoryActions.jsx

Summary

Maintainability
A
0 mins
Test Coverage

Function classMap has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

const classMap = (dark: ?boolean) => {
  const className = dark ? css.actionDark : css.action;
  return {
    edit: <FontAwesomeIcon icon={faPencilAlt} className={className} />,
    delete: <FontAwesomeIcon icon={faTrash} className={className} />,
Severity: Minor
Found in client/app/components/Story/StoryActions.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status