admin 399b59dc87 Fix white-page crash in PairForm word detection
- tokenize(): add try/catch + filter empty/null parts so a bad regex never
  propagates to the React render tree
- Word detection useEffect: wrap entire async block and each per-token fetch
  in try/catch; filter null/malformed word objects out of the map before
  setWordMap() so the render never receives w.id === undefined
- "Erkannte Wörter" sections in PairForm and EditPairForm: filter wordMap
  entries where w?.id is falsy; use (allObjects || []) defensively
- handleCreateWord: only update wordMap when the API response contains w.id
- After successful save in PairForm: reset all text/word state so the form
  starts clean for the next pair

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 14:55:34 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00
2026-05-21 21:29:12 +02:00

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.

Description
Content Management Tool für snakkimo
Readme 863 KiB
Languages
JavaScript 98.8%
CSS 1%
HTML 0.1%
Dockerfile 0.1%