// Copyright: © 2026 TWWIM UG. All rights reserved. (www.twwim.com)
import { createFileRoute } from '@tanstack/react-router';
import { CPZone } from '@archer/domain';
import { ConversationsPage } from '@/features/conversations/ConversationsPage';
import { requireZone } from '@/presentation/guards/requireZone';

export const Route = createFileRoute('/_authenticated/dashboard/conversations')({
  beforeLoad: () => requireZone(CPZone.CONVERSATIONS),
  component: ConversationsPage,
});
