🚨 fix: resolve all linter and typecheck warnings across codebase
This commit is contained in:
1 parent
54ca910609
commit
f38b0188df
6 files changed
+12
-10
No files matched your search
@@ -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);
|
||||
|
||||
+2
-3
@@ -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