From 172e5b74c60a714f380e9ce8821dbb52afa7dbc4 Mon Sep 17 00:00:00 2001 From: alma Date: Sun, 27 Apr 2025 17:03:04 +0200 Subject: [PATCH] courrier multi account --- app/components/debug/RedisCacheStatus.tsx | 6 +----- app/courrier/debug-tool.tsx | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/components/debug/RedisCacheStatus.tsx b/app/components/debug/RedisCacheStatus.tsx index 98dcf4fe..54304a55 100644 --- a/app/components/debug/RedisCacheStatus.tsx +++ b/app/components/debug/RedisCacheStatus.tsx @@ -19,11 +19,7 @@ export function RedisCacheStatus() { if (data.ready) { setStatus('connected'); - // Include EmailDebug component dynamically if it exists - const { EmailDebug } = await import('./EmailDebug'); - if (EmailDebug) { - // It's available - } + // No need to dynamically import EmailDebug - it's managed by the debug-tool component } else { setStatus('error'); toast({ diff --git a/app/courrier/debug-tool.tsx b/app/courrier/debug-tool.tsx index 723f5ba2..aea9b8cf 100644 --- a/app/courrier/debug-tool.tsx +++ b/app/courrier/debug-tool.tsx @@ -1,6 +1,6 @@ 'use client'; -import { EmailDebug } from '@/components/debug/EmailDebug'; +import { EmailDebug } from '../components/debug/EmailDebug'; export default function EmailDebugTool() { if (process.env.NODE_ENV === 'production') {