'use client';

import { useTranslations } from 'next-intl';
import { Link } from '@/i18n/navigation';
import { OrganizationSelectorContent } from '@/components/ui/organizations/OrganizationSelectorContent';

export default function DashboardOrganizationsSettingsPage() {
  const tCommon = useTranslations('common');

  return (
    <div className="space-y-6">
      <div>
        <Link
          href="/today"
          className="text-sm text-primary hover:opacity-90"
        >
          {tCommon('backToApp')}
        </Link>
      </div>
      <OrganizationSelectorContent />
    </div>
  );
}
