fix prettier

This commit is contained in:
GitBluub
2024-01-17 10:12:59 +01:00
committed by Clément Le Bihan
parent a24a960184
commit 2781276c12
3 changed files with 19 additions and 21 deletions
+2 -3
View File
@@ -10,7 +10,7 @@ import LoadingComponent from '../Loading';
import { SplendidGrandPiano } from 'smplr';
export type ParitionMagicProps = {
playType: 'practice' | 'normal' | null
playType: 'practice' | 'normal' | null;
timestamp: number;
songID: number;
shouldPlay: boolean;
@@ -202,8 +202,7 @@ const PartitionMagic = ({
easing: Easing.inOut(Easing.ease),
}
);
if (playType == 'practice')
return;
if (playType == 'practice') return;
cursor.notes.forEach((note) => {
piano.current?.start({
note: note.note,