diff --git a/apps/web/app/(dashboard)/calendar/page.tsx b/apps/web/app/(dashboard)/calendar/page.tsx index 297ecf5..62183af 100644 --- a/apps/web/app/(dashboard)/calendar/page.tsx +++ b/apps/web/app/(dashboard)/calendar/page.tsx @@ -64,6 +64,7 @@ export default function CalendarPage() { checkWidth(); window.addEventListener('resize', checkWidth); return () => window.removeEventListener('resize', checkWidth); + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); // Get current domain from URL or default @@ -71,6 +72,7 @@ export default function CalendarPage() { const pathParts = window.location.pathname.split('/'); // Try to find domain from sidebar or use first domain fetchDomains(); + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); async function fetchDomains() { @@ -163,6 +165,7 @@ export default function CalendarPage() { document.addEventListener('keydown', handleKeyDown); return () => document.removeEventListener('keydown', handleKeyDown); + // eslint-disable-next-line react-hooks/exhaustive-deps }, [currentDate, view]); function getViewRange(date: Date, v: string): { from: Date; to: Date } { diff --git a/apps/web/app/api/import/route.ts b/apps/web/app/api/import/route.ts index eefd020..61396ec 100644 --- a/apps/web/app/api/import/route.ts +++ b/apps/web/app/api/import/route.ts @@ -60,8 +60,7 @@ export const POST = withAuth(async (request: NextRequest, _user) => { for (const item of items) { try { // Strip id, created, updated to let PocketBase generate new ones - // eslint-disable-next-line @typescript-eslint/no-unused-vars - const { id, created, updated, ...data } = item; + const { id: _id, created: _created, updated: _updated, ...data } = item; await pb.collection(collection).create(data); result.imported++; } catch (error) { diff --git a/apps/web/components/settings/settings-agents.tsx b/apps/web/components/settings/settings-agents.tsx index 9ccd1b5..e3d6189 100644 --- a/apps/web/components/settings/settings-agents.tsx +++ b/apps/web/components/settings/settings-agents.tsx @@ -229,7 +229,7 @@ export function SettingsAgents() { Delete {agentToDelete?.name}? - This will revoke the agent's access. + This will revoke the agent's access. Cancel