rugby-board/rugby-board-node

View on GitHub
client/components/admin/Editor.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    if (this.state.data.created_at === undefined) {
      this.modifyData({ created_at: format(new Date(), 'HH:mm YYYY-MM-DD') });
    }
    if (this.state.data.channel_text === undefined) {
Severity: Major
Found in client/components/admin/Editor.jsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status