fix: 修复 TypeScript 类型错误
This commit is contained in:
@@ -1,20 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
|
||||
interface KeywordData {
|
||||
id: number;
|
||||
word: string;
|
||||
trendScore: number;
|
||||
description: string;
|
||||
detailPoints: string[];
|
||||
visualConfig: {
|
||||
color: string;
|
||||
size: string;
|
||||
border: string;
|
||||
rotation?: string;
|
||||
};
|
||||
}
|
||||
import type { KeywordData } from '@/app/[locale]/keyword-cloud/components/CloudWord';
|
||||
|
||||
interface QuarterData {
|
||||
quarter: string;
|
||||
|
||||
Reference in New Issue
Block a user