diff --git a/components/ui/character-tab-content.tsx b/components/ui/character-tab-content.tsx index c340f33..1507d25 100644 --- a/components/ui/character-tab-content.tsx +++ b/components/ui/character-tab-content.tsx @@ -168,7 +168,7 @@ CharacterTabContentProps await applyRoleToSelectedShots(selectedRole || {} as RoleEntity); setIsReplacePanelOpen(false); if(addToLibrary){ - saveRoleToLibrary(); + await saveRoleToLibrary(); } onApply(); };