Format code

This commit is contained in:
2024-01-08 17:23:59 +01:00
committed by Clément Le Bihan
parent 3c04e8bb39
commit b5b94adc83
7 changed files with 55 additions and 62 deletions

View File

@@ -283,7 +283,7 @@ const PlayView = ({ songId }: PlayViewProps) => {
useEffect(() => {
// Song.data is updated on navigation.navigate (do not know why)
// Hotfix to prevent midi setup process from reruning on game end
if (navigation.getState().routes.at(-1)?.name != "Play") {
if (navigation.getState().routes.at(-1)?.name != 'Play') {
return;
}
if (playType && song.data && !webSocket.current) {