diff --git a/app/dashboard/layout.tsx b/app/dashboard/layout.tsx index 395e943..7e30a5b 100644 --- a/app/dashboard/layout.tsx +++ b/app/dashboard/layout.tsx @@ -29,7 +29,7 @@ import MessageBus from "@/lib/4nk/MessageBus" import UserStore from "@/lib/4nk/UserStore" import Iframe from "@/components/4nk/Iframe" import EventBus from "@/lib/4nk/EventBus" -// DebugInfo supprimé +import { iframeUrl } from "../page" export default function DashboardLayout({ children }: { children: React.ReactNode }) { const [isAuthenticated, setIsAuthenticated] = useState(false) @@ -46,7 +46,6 @@ export default function DashboardLayout({ children }: { children: React.ReactNod const router = useRouter() const pathname = usePathname() - const iframeUrl = process.env.NEXT_PUBLIC_4NK_IFRAME_URL || "https://dev3.4nkweb.com" const navigation = [ { name: "Tableau de bord", href: "/dashboard", icon: LayoutDashboard }, @@ -85,6 +84,7 @@ export default function DashboardLayout({ children }: { children: React.ReactNod messageBus.isReady().then(() => { messageBus.getMyProcesses().then((res: string[]) => { setMyProcesses(res); + console.log("getMyProcesses", res); }) }); } @@ -168,8 +168,6 @@ export default function DashboardLayout({ children }: { children: React.ReactNod

Vérification de l'authentification...

- {