Skip to content

Commit

Permalink
TPI HFI infographic
Browse files Browse the repository at this point in the history
  • Loading branch information
dgboss authored and conbrad committed Aug 19, 2024
1 parent 5797062 commit bb1b3de
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions web/src/features/fba/pages/FireBehaviourAdvisoryPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,6 @@ const FireBehaviourAdvisoryPage: React.FunctionComponent = () => {
}
}, [mostRecentRunDate]) // eslint-disable-line react-hooks/exhaustive-deps

useEffect(() => {
if (selectedFireShape?.mof_fire_centre_name) {
const matchingFireCenter = fireCenters.find(center => center.name === selectedFireShape.mof_fire_centre_name)

if (matchingFireCenter) {
setFireCenter(matchingFireCenter)
}
}
}, [selectedFireShape, fireCenters])

useEffect(() => {
const selectedFireShapeId = selectedFireShape?.fire_shape_id
if (isNull(fireZoneTPIStats) || isUndefined(selectedFireShapeId)) {
Expand Down

0 comments on commit bb1b3de

Please sign in to comment.