import React from 'react';
import { AssessmentView } from '../../../components/views/AssessmentView';
import { useAuth } from '../../contexts/AuthContext';

export default function AssessmentPage() {
    const { apiKey, logout, user } = useAuth();

    return (
        <AssessmentView
            onLogout={logout}
            onNavigate={() => { }}
            isAdmin={user?.role === 'TENANT_ADMIN' || user?.role === 'SUPER_ADMIN'}
        />
    );
}
