diff --git a/components/ui/character-tab-content.tsx b/components/ui/character-tab-content.tsx index 9a691df..db18732 100644 --- a/components/ui/character-tab-content.tsx +++ b/components/ui/character-tab-content.tsx @@ -166,6 +166,7 @@ CharacterTabContentProps console.log('Selected shots:', selectedShots); console.log('Add to library:', addToLibrary); setIsReplacePanelOpen(false); + onClose(); await applyRoleToSelectedShots(selectedRole || {} as RoleEntity); if(addToLibrary){ await saveRoleToLibrary(); @@ -468,3 +469,5 @@ CharacterTabContentProps ); }); + +CharacterTabContent.displayName = 'CharacterTabContent'; \ No newline at end of file