We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ac587e commit 2d74bedCopy full SHA for 2d74bed
1 file changed
src/devTool.tsx
@@ -23,7 +23,7 @@ export const DevTool = (props?: { control: Control<any> }) => {
23
24
return (
25
<StateMachineProvider>
26
- <DevToolUI control={methods.control || (props && props.control)} />
+ <DevToolUI control={(props && props.control) || methods.control} />
27
</StateMachineProvider>
28
);
29
};
0 commit comments