Skip to content

Fix react/no-unescaped-entities ESLint errors at posts/[id]/page.tsx:237 #520

Description

@tayebmokni

Summary

Two unescaped `"` characters introduced by the recent session in `apps/admin/src/app/(authenticated)/posts/[id]/page.tsx:237`.

`pnpm exec eslint src --ext .ts,.tsx` flags:

```
237:43 error " can be escaped with ", “, ", ” react/no-unescaped-entities
237:56 error " can be escaped with ", “, ", ” react/no-unescaped-entities
```

CI runs `pnpm lint` directly (bypasses next.config's `ignoreDuringBuilds`), so this will fail CI.

Fix

Replace with `“` / `”` (matching existing convention elsewhere in the codebase) or another permitted escape.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions