Fix: Add missing startCraftingEquipment and cancelEquipmentCrafting actions to craftingStore
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m37s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Failing after 1m37s
- Added startCraftingEquipment action that validates and initializes equipment crafting - Added cancelEquipmentCrafting action that cancels crafting and refunds mana - Used CraftingEquipment functions directly instead of deprecated wrapper actions - Updated craftingStore imports to include useManaStore and useUIStore - Fixed crafting/index.tsx barrel file export (removed non-existent type exports) - Fixed syntax errors in craftingStore.ts (missing commas in function params) Fixes issue where EquipmentCrafter component couldn't find these actions on craftingStore.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Barrel file for crafting components
|
||||
|
||||
export { EnchantmentDesigner, type EnchantmentDesignerProps } from './EnchantmentDesigner';
|
||||
export { EnchantmentPreparer, type EnchantmentPreparerProps } from './EnchantmentPreparer';
|
||||
export { EnchantmentApplier, type EnchantmentApplierProps } from './EnchantmentApplier';
|
||||
export { EquipmentCrafter, type EquipmentCrafterProps } from './EquipmentCrafter';
|
||||
export { EnchantmentDesigner } from './EnchantmentDesigner';
|
||||
export { EnchantmentPreparer } from './EnchantmentPreparer';
|
||||
export { EnchantmentApplier } from './EnchantmentApplier';
|
||||
export { EquipmentCrafter } from './EquipmentCrafter';
|
||||
|
||||
Reference in New Issue
Block a user