FarmBot/Farmbot-Web-App

View on GitHub
frontend/logs/components/logs_table.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function LogsTable has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const LogsTable = (props: LogsTableProps) => {
  return <div className={"logs-table-wrapper"}>
    <table className={LOG_TABLE_CLASS}>
      <thead>
        <tr>
Severity: Minor
Found in frontend/logs/components/logs_table.tsx - About 1 hr to fix

    Function LogsRow has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const LogsRow = (props: LogsRowProps) => {
      const { tlog, timeSettings, dispatch, markdown } = props;
      const { uuid } = tlog;
      const { x, y, z, verbosity, type, created_at, message, id } = tlog.body;
      const at = moment.unix(created_at || NaN);
    Severity: Minor
    Found in frontend/logs/components/logs_table.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status