Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

style(dashboard): satisfy the dashboard's own prettier scope

Yudhi Armyndharisab52d4a77217
diff --git a/dashboard/src/pages/Sessions.tsx b/dashboard/src/pages/Sessions.tsx
index 6e3856520..cd81a552e 100644
--- a/dashboard/src/pages/Sessions.tsx
+++ b/dashboard/src/pages/Sessions.tsx
@@ -302,10 +302,7 @@ export function Sessions() {
// Revert: an optimistic toggle left flipped would tell the operator calls are being rejected
// when the gateway never accepted the change.
setSessionConfig(previous);
- toast.error(
- t('sessions.details.autoRejectCalls'),
- err instanceof Error ? err.message : t('common.unknownError'),
- );
+ toast.error(t('sessions.details.autoRejectCalls'), err instanceof Error ? err.message : t('common.unknownError'));
} finally {
setSavingConfig(false);
}