Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowm committed Feb 5, 2025
1 parent 81eeb64 commit dcc0a28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/modules/Orbit.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class Orbit {
}

get julianDate() {
return this.satrec.jdsatepoch
return this.satrec.jdsatepoch;
}

get orbitalPeriod() {
Expand Down
6 changes: 2 additions & 4 deletions src/modules/util/DescriptionHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ export class DescriptionHelper {
}

static renderSatelliteDescription(time, position, props) {
const name = props.name;
const passes = props.passes;
const tle = props.orbit.tle;
const julianDate = props.orbit.julianDate;
const { name, passes, orbit } = props;
const { tle, julianDate } = orbit;
const description = `
<div class="ib">
<h3>Position</h3>
Expand Down

0 comments on commit dcc0a28

Please sign in to comment.