fix: QA audit — lint cleanup, i18n fixes, module visibility, sidebar UX
- Fix 97 lint errors → 0 (unused imports, params, variables across 40+ files) - Fix i18n key format: colon → dot notation for next-intl compatibility - Add missing i18n keys (routes.application, routes.home, confirm) - Fix module visibility: sidebar now respects per-account DB features - Fix inject function: use dot-notation keys, add collapsed:true defaults - Fix ConfirmDialog: use useTranslations instead of hardcoded German defaults - Fix events page: replace placeholder 'Beschreibung' with proper description - Fix Dockerfile: add NEXT_PUBLIC_CI ARG for Docker builds - Collapse secondary sidebar sections by default for cleaner UX
This commit is contained in:
@@ -29,7 +29,7 @@ interface ClubFeeBillingTableProps {
|
||||
|
||||
export function ClubFeeBillingTable({
|
||||
billings,
|
||||
clubId,
|
||||
clubId: _clubId,
|
||||
}: ClubFeeBillingTableProps) {
|
||||
const [showPaid, setShowPaid] = useState(false);
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ const NOTE_ICONS: Record<string, React.ReactNode> = {
|
||||
erinnerung: <Bell className="h-4 w-4" />,
|
||||
};
|
||||
|
||||
export function ClubNotesList({ notes, clubId }: ClubNotesListProps) {
|
||||
export function ClubNotesList({ notes, clubId: _clubId }: ClubNotesListProps) {
|
||||
const { execute: executeComplete } = useAction(completeClubNote, {
|
||||
onSuccess: () => {
|
||||
toast.success('Aufgabe erledigt');
|
||||
|
||||
Reference in New Issue
Block a user