fix(web): resolve remaining V21 TypeScript build errors

- Use selected plan id in subscription success message
- Mark route project id as intentionally unused on voices page
- Restores production release build for V21 pages
This commit is contained in:
Xiaoxia AI
2026-06-26 09:54:38 +08:00
parent ed775edeee
commit fb104268d6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ const Plans: React.FC = () => {
const handleSubscribe = async (planId: string) => {
try {
setSubscribing(true);
message.success('订阅成功');
message.success(`已选择 ${planId} 订阅计划`);
} catch (error: any) {
message.error('订阅失败');
} finally {
@@ -15,7 +15,7 @@ const VOICE_OPTIONS = [
];
const ProjectVoices: React.FC = () => {
const { id: projectId } = useParams<{ id: string }>();
const { id: _projectId } = useParams<{ id: string }>();
const [selectedVoice, setSelectedVoice] = useState<string>('');
return (