Skip to content

Commit

Permalink
Merge branch 'hp/populate-detours-list-with-channels' into hp/activat…
Browse files Browse the repository at this point in the history
…ion-not-updating-channel-bug
  • Loading branch information
hannahpurcell committed Feb 14, 2025
2 parents 7bf4bb7 + a217319 commit a88f81a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/src/components/detourListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export const DetourListPage = () => {
// Wait for the detour channels to initialize
const { socket } = useContext(SocketContext)

let activeDetoursMap = useActiveDetours(socket)
let draftDetoursMap = useDraftDetours(socket)
let pastDetoursMap = usePastDetours(socket)
const activeDetoursMap = useActiveDetours(socket)
const draftDetoursMap = useDraftDetours(socket)
const pastDetoursMap = usePastDetours(socket)

const activeDetours: SimpleDetour[] | null = activeDetoursMap
? Object.values(activeDetoursMap).sort(
Expand Down

0 comments on commit a88f81a

Please sign in to comment.