diff --git a/components/ui/character-tab-content.tsx b/components/ui/character-tab-content.tsx index a312560..f24fc3b 100644 --- a/components/ui/character-tab-content.tsx +++ b/components/ui/character-tab-content.tsx @@ -9,7 +9,6 @@ import { ReplaceCharacterPanel, mockShots, mockCharacter } from './replace-chara import { CharacterLibrarySelector } from './character-library-selector'; import HorizontalScroller from './HorizontalScroller'; import { useEditData } from '@/components/pages/work-flow/use-edit-data'; -import { useRoleShotServiceHook } from '@/app/service/Interaction/RoleShotService'; import { useSearchParams } from 'next/navigation'; interface Appearance { @@ -89,7 +88,6 @@ export function CharacterTabContent({ const searchParams = useSearchParams(); const episodeId = searchParams.get('episodeId'); - const {fetchRoleShots} = useRoleShotServiceHook(episodeId as string) useEffect(() => { console.log('-==========roleData===========-', roleData); @@ -121,7 +119,6 @@ export function CharacterTabContent({ // 替换角色 setIsReplacePanelOpen(true); - fetchRoleShots("President Alfred King"); }; // President Alfred King Samuel Ryan const handleConfirmReplace = (selectedShots: string[], addToLibrary: boolean) => {