Skip to content

Commit f697ecd

Browse files
Update src/hooks/useFetchSpeakers.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 4de65d7 commit f697ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useFetchSpeakers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const URLS = {
99
2024: "https://sessionize.com/api/v2/teq4asez/view/Speakers"
1010
};
1111

12-
export const useFetchSpeakers = (urlOrId?: string, id?: string): UseQueryResult<ISpeaker[]> => {
12+
export const useFetchSpeakers = (yearOrUrl?: string, id?: string): UseQueryResult<ISpeaker[]> => {
1313
// Determine if the first parameter is a URL or an ID
1414
let url = URLS.default;
1515
let speakerId = id;

0 commit comments

Comments
 (0)