local U=require(script.Parent.Parent.vendor.RoactHooked)local G=require(script.Parent.useStore)local function F()local F=G()local u=U.useCallback(function(U)F:dispatch(U)end,{F})return u end return F
local Hooks = require(script.Parent.Parent.vendor.RoactHooked)
local useStore = require(script.Parent.useStore)

local function useDispatch()
	local store = useStore()

	local dispatch = Hooks.useCallback(function(action)
		store:dispatch(action)
	end, { store })

	return dispatch
end

return useDispatch
