import { FormGenerator } from '../FormGenerator/FormGenerator'; import { useMitgliederLogic } from './mitgliederLogic'; import { MitgliederTableProps } from './mitgliederTypes'; import { useLanguage } from '../../contexts/LanguageContext'; import styles from './MitgliederTable.module.css'; function MitgliederTable({ className = '' }: MitgliederTableProps) { const { t } = useLanguage(); const { users, loading, error, columns, actions, refetch } = useMitgliederLogic(); if (error) { return (
{t('users.error.loading', 'Error loading users:')} {error}