We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de65d7 commit f697ecdCopy full SHA for f697ecd
src/hooks/useFetchSpeakers.ts
@@ -9,7 +9,7 @@ const URLS = {
9
2024: "https://sessionize.com/api/v2/teq4asez/view/Speakers"
10
};
11
12
-export const useFetchSpeakers = (urlOrId?: string, id?: string): UseQueryResult<ISpeaker[]> => {
+export const useFetchSpeakers = (yearOrUrl?: string, id?: string): UseQueryResult<ISpeaker[]> => {
13
// Determine if the first parameter is a URL or an ID
14
let url = URLS.default;
15
let speakerId = id;
0 commit comments