Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadsarfarazafzal committed Aug 28, 2024
1 parent ce11b2c commit e412e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="src/assets/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no" />
<title>Acapellas</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion src/context/PlayerContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const PlayerContextProvider = (props) => {
const highVol = useRef();
const midVol = useRef();
const lowVol = useRef();
const [track, setTrack] = useState(audios[0]);
const [track, setTrack] = useState(audios[Math.floor(Math.random() * (audios.length - 0) ) + 0]);
const [playStatus, setPlayStatus] = useState(false);
const [themeMode, setTheme] = useState('dark');
const [darkStatus, setDark] = useState(true);
Expand Down

0 comments on commit e412e27

Please sign in to comment.