mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-12 10:12:11 +03:00
fix(docs+ui): add MDX frontmatter to Codex CLI guide, fix setState-in-effect lint
- docs/guides/CODEX-CLI-CONFIGURATION.md was missing the YAML frontmatter block required by fumadocs (title/version/lastUpdated), causing the production build to fail with "invalid frontmatter" MDX error. - CodexCliGuideModal.tsx called setLoading/setError synchronously in a useEffect body, triggering the react-hooks/set-state-in-effect lint error. Refactored to an internal async function with an `cancelled` guard to prevent state updates on unmounted components.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
---
|
||||
title: "Codex CLI — Configuration with OmniRoute"
|
||||
version: 3.8.16
|
||||
lastUpdated: 2026-06-08
|
||||
---
|
||||
|
||||
# Codex CLI — Configuration with OmniRoute
|
||||
|
||||
Complete guide for using the Codex CLI pointed at OmniRoute as an OpenAI-compatible backend.
|
||||
|
||||
Reference in New Issue
Block a user