Skip to content

Commit

Permalink
Remove unused filter line
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMHasperhoven committed Oct 18, 2024
1 parent 986a09c commit d122e13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/route-book/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ function getDisplayData({
fromBaseUnit(BigInt(property?.lo ?? 0), BigInt(property?.hi ?? 0), exponent);

const routes = data
// .filter(position => position.state?.state.toLocaleString() === 'POSITION_STATE_ENUM_OPENED')
.filter(position => position.state?.state === PositionState_PositionStateEnum.OPENED)
.map(position => {
const direction = position.phi?.pair?.asset2?.equals(asset1.penumbraAssetId) ? -1 : 1;
Expand Down

0 comments on commit d122e13

Please sign in to comment.