diff --git a/packages/core/lib/use-puck.ts b/packages/core/lib/use-puck.ts index e0830415ae..53e9b6e84e 100644 --- a/packages/core/lib/use-puck.ts +++ b/packages/core/lib/use-puck.ts @@ -1,7 +1,7 @@ import { useAppContext } from "../components/Puck/context"; export const usePuck = () => { - const { state: appState, config, dispatch } = useAppContext(); + const { state: appState, config, history, dispatch } = useAppContext(); - return { appState, config, dispatch }; + return { appState, config, dispatch, history }; };