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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user