Skip to content

TypeError: output is undefined  #18

@Obertura777

Description

@Obertura777

Getting the following error while looking at a specific season in a game.

intersection
src/gui/maps/common/equilateralTriangle.js:118

  115 |         }
  116 |         distances.sort();
  117 |         const output = distances[0];
> 118 |         output.shift();
      | ^  119 |         return output;
  120 |     }
  121 | }

render
src/gui/maps/common/convoy.js:23

  20 | import PropTypes from "prop-types";
  21 | 
  22 | export class Convoy extends React.Component {
> 23 |     render() {
  24 |         const Coordinates = this.props.coordinates;
  25 |         const SymbolSizes = this.props.symbolSizes;
  26 |         const Colors = this.props.colors;

It seems some sort of interface error in computing convoy arrangements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions