🚨 fix: resolve all linter and typecheck warnings across codebase
This commit is contained in:
@@ -32,7 +32,7 @@ export default function SignInPage() {
|
||||
providerId: "authentik",
|
||||
callbackURL: "/",
|
||||
});
|
||||
} catch (_error) {
|
||||
} catch {
|
||||
toast.error("Failed to sign in. Please try again.");
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
|
||||
@@ -182,10 +182,9 @@ export default function HomePage() {
|
||||
|
||||
const persistAiEvents = async (data: CalendarEvent[]) => {
|
||||
for (const ev of data) {
|
||||
const { id: _existingId, ...rest } = ev;
|
||||
const newEvent = {
|
||||
const newEvent: CalendarEvent = {
|
||||
...ev,
|
||||
id: nanoid(),
|
||||
...rest,
|
||||
createdAt: new Date().toISOString(),
|
||||
lastModified: new Date().toISOString(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user