Skip to content

Commit

Permalink
fixed wrong method names
Browse files Browse the repository at this point in the history
  • Loading branch information
cprice11 committed Sep 7, 2024
1 parent f4f8afa commit 5e27240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions experiences/bus-bunching/controls/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ const ControlsComponent = () => {

const updateBusCount = useCallback(
async (event, value) => {
await sendMessage({ type: "busCount", value: value })
await sendMessage({ type: "numBuses", value: value })
},
[sendMessage]
)

const updateStopCount = useCallback(
async (event, value) => {
await sendMessage({ type: "stopCount", value: value })
await sendMessage({ type: "numStops", value: value })
},
[sendMessage]
)
Expand Down

0 comments on commit 5e27240

Please sign in to comment.