This commit is contained in:
lx
2026-07-06 14:01:11 -04:00
commit c4f97d729d
16468 changed files with 935321 additions and 0 deletions
@@ -0,0 +1,16 @@
local ErrorOccurred = require(script.Parent.Parent.Actions.ErrorOccurred)
local ItemCannotBePurchased = require(script.Parent.Parent.Actions.ItemCannotBePurchased)
-- TODO: Switch to Rodux.createReducer once CorePackages.Rodux is upgraded
local PurchaseErrorReducer = function(state, action)
if action.type == ErrorOccurred.name then
return action.purchaseError
elseif action.type == ItemCannotBePurchased.name then
return action.purchaseError
end
return state
end
return PurchaseErrorReducer