-- Compiled with roblox-ts v1.3.2 local TS = _G[script] local useStore = TS.import(script, script.Parent, "use-store").default --[[ * * A hook to access the Rodux Store's `dispatch` method. * * @returns Rodux store's `dispatch` method ]] local function useDispatch(hooks) local store = useStore(hooks) return hooks.useValue(function(action) return store:dispatch(action) end).value end local default = useDispatch return { useDispatch = useDispatch, default = default, }