check if a google calendar exixst before adding it , in the add page

This commit is contained in:
CREDO23 2025-08-02 05:36:43 +02:00
parent edf46e4de1
commit ad0a1e5c97
7 changed files with 62 additions and 311 deletions

View file

@ -86,6 +86,8 @@ export const useSearchSourceConnectors = (lazy: boolean = false) => {
// Update connector source items when connectors change
updateConnectorSourceItems(data);
return data;
} catch (err) {
setError(err instanceof Error ? err : new Error("An unknown error occurred"));
console.error("Error fetching search source connectors:", err);