Skip to content

Commit 7e759b3

Browse files
(add) added comment explaining expectation for payload for ON_HOVER action
1 parent 9f18f2f commit 7e759b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/actions/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,6 @@ export const resetSlider = () => ({
8080

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

0 commit comments

Comments
 (0)