Skip to content

Commit

Permalink
Automatic build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Oct 7, 2023
1 parent 946ffc2 commit 2b60012
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
7 changes: 3 additions & 4 deletions frontend/app/src/pages/tickets/TicketModalPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export const TicketModalPage = observer(({ setConnectPerson }: Props) => {
}, [location.search]);

useEffect(() => {
const activeIndex = bountyId ? main.peopleBounties.findIndex(
(bounty: PersonBounty) => bounty.body.id === Number(bountyId)
) : (main.peopleBounties ?? []).findIndex(findPerson(search));
const activeIndex = bountyId
? main.peopleBounties.findIndex((bounty: PersonBounty) => bounty.body.id === Number(bountyId))
: (main.peopleBounties ?? []).findIndex(findPerson(search));
const connectPerson = (main.peopleBounties ?? [])[activeIndex];

setPublicFocusIndex(activeIndex);
Expand Down Expand Up @@ -152,4 +152,3 @@ export const TicketModalPage = observer(({ setConnectPerson }: Props) => {
</Modal>
);
});

16 changes: 8 additions & 8 deletions frontend/packrd/packed-packr.go

Large diffs are not rendered by default.

0 comments on commit 2b60012

Please sign in to comment.