style: remove markdown bold syntax from code comments
Remove `**...**` emphasis markers from inline comments and JSDoc blocks across auth and chat components, machine mappers, and quota helpers. These are plain code comments, not rendered markdown, so the bold syntax was noise. Files touched: - src/app/auth/components/auth-screen.tsx - src/app/chat/components/chat-header.tsx - src/app/chat/components/chat-screen.tsx - chat machine mapper / quota helpers No functional or behavioral changes.
This commit is contained in:
+2
-2
@@ -57,9 +57,9 @@ export const Result = {
|
||||
*
|
||||
* 错误处理策略(重点):
|
||||
* 1. 捕获后用 `toError` 规范化(保留 .stack / .code / .status 等字段)
|
||||
* 2. **用 Logger 记录**(带 stack + component=Result 标签)—— 调试 dev 控制台可见,
|
||||
* 2. 用 Logger 记录(带 stack + component=Result 标签)—— 调试 dev 控制台可见,
|
||||
* 生产环境走 JSON pipeline 接入日志平台
|
||||
* 3. **不**重新抛出 —— 调用方拿到的永远是 `Result<T>`(throw 风格调用方可在
|
||||
* 3. 不重新抛出 —— 调用方拿到的永远是 `Result<T>`(throw 风格调用方可在
|
||||
* 最外层显式 `throw Result.unwrap(r)`)
|
||||
*/
|
||||
async wrap<T>(thunk: () => Promise<T>): Promise<Result<T>> {
|
||||
|
||||
Reference in New Issue
Block a user