Skip to content

Commit efba20c

Browse files
Y-RyuZUclaude
andcommitted
fix: remove unused isLoading prop to fix ESLint build error
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 25dd5bd commit efba20c

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/components/features/noteblock/NoteBlockPlayer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ export default function NoteBlockPlayer() {
278278
<TrackInstrumentPanel
279279
trackInfos={audio.trackInfos}
280280
trackAssignments={audio.trackAssignments}
281-
isLoading={audio.isLoadingInstruments}
282281
onApply={audio.applyTrackAssignments}
283282
/>
284283
</div>

src/components/features/noteblock/TrackInstrumentPanel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ function pitchLabel(instrumentId: string, offset: number): string {
2525
interface TrackInstrumentPanelProps {
2626
trackInfos: TrackInfo[];
2727
trackAssignments: TrackAssignment[];
28-
isLoading: boolean;
2928
onApply: (assignments: TrackAssignment[]) => Promise<void>;
3029
}
3130

3231
export default function TrackInstrumentPanel({
33-
trackInfos, trackAssignments, isLoading, onApply,
32+
trackInfos, trackAssignments, onApply,
3433
}: TrackInstrumentPanelProps) {
3534
const [draft, setDraft] = useState<TrackAssignment[]>(trackAssignments);
3635
const customOggRefs = useRef<Map<number, HTMLInputElement>>(new Map());

0 commit comments

Comments
 (0)