Migrate to eslint flat config; update dependencies (#2627)

Co-authored-by: vee <vendicated@riseup.net>
This commit is contained in:
Aiden 2024-08-02 06:12:59 -04:00 committed by GitHub
parent d919cd6bf1
commit e99eec50bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 1652 additions and 1276 deletions

View file

@ -165,7 +165,6 @@ function SeekBar() {
const [position, setPosition] = useState(storePosition);
// eslint-disable-next-line consistent-return
useEffect(() => {
if (isPlaying && !isSettingPosition) {
setPosition(SpotifyStore.position);
@ -358,7 +357,7 @@ export function Player() {
const [shouldHide, setShouldHide] = useState(false);
// Hide player after 5 minutes of inactivity
// eslint-disable-next-line consistent-return
React.useEffect(() => {
setShouldHide(false);
if (!isPlaying) {