Skip to content

Commit 9353c5e

Browse files
(added) adjusted hover action to send proper payload (rtid) from the component map
Co-authored-by: Chris Guizzetti <[email protected]>
1 parent 39e6e89 commit 9353c5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/actions/actions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ export const resetSlider = () => ({
7878
type: types.SLIDER_ZERO,
7979
});
8080

81-
export const onHover = () => ({
81+
export const onHover = (rtid) => ({
8282
type: types.ON_HOVER,
8383
//the payload should be something to relate the component we're hovering and highlight that component on the DOM
84-
payload: 'PAYLOAD FROM onHover inside of action.ts'
84+
payload: rtid
8585
})

0 commit comments

Comments
 (0)