10 lines
145 B
JavaScript
10 lines
145 B
JavaScript
// Action creator
|
|
//
|
|
export const selectSong = song => {
|
|
return {
|
|
// type is required
|
|
type: "SONG_SELECTED",
|
|
payload: song
|
|
};
|
|
};
|