Fix EnchantmentApplier.tsx: Correct ENCHANTMENT_EFFECTS typo and fix EquipmentSlot import

This commit is contained in:
Refactoring Agent
2026-05-06 10:38:32 +02:00
parent 930d5b9e29
commit e9485b93aa
@@ -95,7 +95,7 @@ export function EnchantmentApplier({
<ActionButton size="sm" onClick={resumeApplication}>Resume</ActionButton> <ActionButton size="sm" onClick={resumeApplication}>Resume</ActionButton>
) : ( ) : (
<> <>
<ActionButton variant="outline" size="sm" onClick={pauseApplication}>Pause</ActionButton> <ActionButton variant="secondary" size="sm" onClick={pauseApplication}>Pause</ActionButton>
<ActionButton variant="ghost" size="sm" onClick={() => { <ActionButton variant="ghost" size="sm" onClick={() => {
cancelApplication(); cancelApplication();
onEnchantmentApplied?.(); // This will trigger the cancel toast via parent onEnchantmentApplied?.(); // This will trigger the cancel toast via parent