diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index b8afb7b..25917be 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -54,7 +54,12 @@ const Index = () => { const [noteTags, setNoteTags] = useState([]); const [openRouterModels, setOpenRouterModels] = useState([]); const [loadingModels, setLoadingModels] = useState(false); - const [calendarAuthStatus, setCalendarAuthStatus] = useState({ + const [calendarAuthStatus, setCalendarAuthStatus] = useState<{ + isAuthenticated: boolean; + isExpired: boolean; + needsReauth: boolean; + authType?: 'oauth2' | 'service_account'; + }>({ isAuthenticated: false, isExpired: false, needsReauth: true @@ -1354,7 +1359,7 @@ const Index = () => {