fix(#1341): 移除 useStep6Cover 未使用的 useRef 导入,修复 Docker 构建 TS6133 (#1346)
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 1m47s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 2m9s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 3m36s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m37s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 6m5s
CI/CD Pipeline / Validate - Code Quality (push) Successful in 6m38s
CI/CD Pipeline / Unit Tests (push) Failing after 7m28s
CI/CD Pipeline / Integration Tests (push) Successful in 3m7s
CI/CD Pipeline / Build Staging API Image (push) Successful in 13m46s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 38s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 44s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 1m14s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 2m48s
CI/CD Pipeline / Canary Release to Production (push) Failing after 837h57m40s
CI/CD Pipeline / Production Browser E2E (push) Failing after 838h7m18s
CI/CD Pipeline / Deploy Production (push) Failing after 838h7m19s
CI/CD Pipeline / Build Production API Image (push) Failing after 838h7m20s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 838h7m19s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 838h13m42s
CI/CD Pipeline / PR Build Web Image (push) Failing after 838h13m44s
CI/CD Pipeline / PR Build API Image (push) Failing after 838h13m46s
CI/CD Pipeline / Frontend Lint (push) Failing after 838h14m42s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 838h14m57s
CI/CD Pipeline / CI Gate (push) Failing after 838h38m38s
CI/CD Pipeline / Build Production Web Image (push) Failing after 838h40m48s
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 1m47s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 2m9s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 3m36s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m37s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 6m5s
CI/CD Pipeline / Validate - Code Quality (push) Successful in 6m38s
CI/CD Pipeline / Unit Tests (push) Failing after 7m28s
CI/CD Pipeline / Integration Tests (push) Successful in 3m7s
CI/CD Pipeline / Build Staging API Image (push) Successful in 13m46s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 38s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 44s
CI/CD Pipeline / Staging E2E Tests (push) Successful in 1m14s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 2m48s
CI/CD Pipeline / Canary Release to Production (push) Failing after 837h57m40s
CI/CD Pipeline / Production Browser E2E (push) Failing after 838h7m18s
CI/CD Pipeline / Deploy Production (push) Failing after 838h7m19s
CI/CD Pipeline / Build Production API Image (push) Failing after 838h7m20s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 838h7m19s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 838h13m42s
CI/CD Pipeline / PR Build Web Image (push) Failing after 838h13m44s
CI/CD Pipeline / PR Build API Image (push) Failing after 838h13m46s
CI/CD Pipeline / Frontend Lint (push) Failing after 838h14m42s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 838h14m57s
CI/CD Pipeline / CI Gate (push) Failing after 838h38m38s
CI/CD Pipeline / Build Production Web Image (push) Failing after 838h40m48s
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* Step 6 封面设置 Hook
|
||||
* 封装封面设置的交互逻辑,对接后端封面模板 CRUD API
|
||||
*/
|
||||
import { useCallback, useEffect, useRef, useState } from "react"
|
||||
import { useCallback, useEffect, useState } from "react"
|
||||
import { message } from "antd"
|
||||
import type { CoverConfig, CoverTemplate } from "../../editing-planner/types"
|
||||
import { generateCover } from "@/api/template-editor"
|
||||
|
||||
Reference in New Issue
Block a user