Open cometkim opened 5 months ago
Ok I found the conditional one from the user's codebase
export const useStepFlow: TypeUseStepFlow = (activityName) => {
const actions = _useStepFlow(activityName);
const stack = useStack();
const stepPush = (...params) => {
if (stack.globalTransitionState === 'loading') {
return undefined;
}
return actions.stepPush(...params);
};
// ...
return {
stepPush,
};
};
Removing this wrapper seems to fix the problem, but the question still remains. The conditional call here is “actions”. But the error says it's react hooks and not actual actions.
I'm trying to update to the React 19, but the following error occurs
This seems to happen on any activity that calls the
useStepFlow()
API.