import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import React, {useState, useEffect} from 'react'; import {faVolumeDown, faVolumeUp, faRandom, faStepBackward, faStopCircle, faStepForward, faPlayCircle, faRepeat} from '@fortawesome/free-solid-svg-icons' import { store } from '../store/store'; import { actionFullSetTrack, actionFullPlay, actionFullPause, actionFullSetVolume, actionFullSetCurrentTime } from '../store/playerReducer'; import {Provider, connect} from 'react-redux'; export let NowPlayingPlayer = (track, duration) => { const [volume, setVolume] = useState(10); const [play, setPlay] = useState(false); return(