- Internal links use next/link instead of <a> (no full page reload). - Remove dead code: RegisterForm's unreachable Yoco checkout branch, the unused AttendeeForms on the registration success page, unused Geist fonts, and assorted unused variables and catch bindings. - Escape quotes in JSX text; replace @ts-ignore in apiFetch with a cast. - Keep the intentional raw <img> elements (data URLs, runtime API host) with a documented lint exception; the event editor uses ApiImage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
175 B
TypeScript
7 lines
175 B
TypeScript
import { NextResponse } from "next/server";
|
|
|
|
// Minimal pass-through middleware to satisfy Next.js requirements
|
|
export function middleware() {
|
|
return NextResponse.next();
|
|
}
|