Skip to content

Commit

Permalink
temporary fix to proposal/Overview.tsx
Browse files Browse the repository at this point in the history
Added // @ts-ignore to a line in const DisplayObservations to inhibit unexpected behaviour with Cancel button
  • Loading branch information
mwapst committed Aug 8, 2024
1 parent 83f2e4d commit 8d91fdb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ function OverviewPanel(): ReactElement {
//not sure if this will be needed, it's still work in progress
let targetObjs = [] as Target[];

// @ts-ignore
observation.target?.map((obsTarget) => {
let targetObj = proposalsData?.targets?.find((target) =>
target._id === obsTarget)!
Expand Down

0 comments on commit 8d91fdb

Please sign in to comment.