We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fc0485 commit 890539bCopy full SHA for 890539b
1 file changed
src/App.jsx
@@ -6,12 +6,7 @@ import usePlayState from "./hooks/usePlayState";
6
7
export default function App() {
8
const story = useStoryState();
9
-
10
- const play = usePlayState(
11
- story.nodes,
12
- story.selectedNodeId,
13
- story.variables
14
- );
+ const play = usePlayState(story.story, story.selectedNodeId);
15
16
return (
17
<div className="app-shell">
0 commit comments