Skip to content

Commit

Permalink
Fixed potential error
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteAsian123 committed Dec 26, 2023
1 parent e13aff3 commit f03e474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useSetlistData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export enum SetlistStates {

export const useSetlistData = (setlistData: SetlistData) => {
const { state, setState } = useSetlistState(setlistData?.version);
const task = useTask("setlist", setlistData.id);
const task = useTask("setlist", setlistData?.id);
const payload = usePayload(task?.taskUUID);

useEffect(() => {
Expand Down

0 comments on commit f03e474

Please sign in to comment.