fix: run format and fix build errors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
LeC-DandClaude Opus 4.6 committed 2026-03-25 16:52:48 -04:00
1 parent fe242b1977
commit a864bc0c05
3 files changed
+9 -4

No files matched your search

+4 -1
View File
@@ -27,7 +27,10 @@ export const useNotificationForm = ({ data = null }: UseNotificationFormOptions
};
} else {
defaults = {
type: (data?.type || "email") as Exclude<Notification["type"], "matrix" | "telegram">,
type: (data?.type || "email") as Exclude<
Notification["type"],
"matrix" | "telegram"
>,
notificationName: data?.notificationName || "",
address: data?.address || "",
};
@@ -186,7 +186,9 @@ const NotificationsCreatePage = () => {
{...field}
type="text"
fieldLabel={t("pages.notifications.form.telegram.optionBotToken")}
placeholder={t("pages.notifications.form.telegram.placeholderBotToken")}
placeholder={t(
"pages.notifications.form.telegram.placeholderBotToken"
)}
fullWidth
error={!!fieldState.error}
helperText={fieldState.error?.message ?? ""}
@@ -35,7 +35,7 @@ export class TelegramProvider implements INotificationProvider {
service: SERVICE_NAME,
method: "sendTestAlert",
stack: errStack,
error: errMsg,
details: { error: errMsg },
});
return false;
}
@@ -70,7 +70,7 @@ export class TelegramProvider implements INotificationProvider {
service: SERVICE_NAME,
method: "sendMessage",
stack: errStack,
error: errMsg,
details: { error: errMsg },
});
return false;
}