Skip to content

Commit 890539b

Browse files
committed
N/A
1 parent 9fc0485 commit 890539b

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/App.jsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ import usePlayState from "./hooks/usePlayState";
66

77
export default function App() {
88
const story = useStoryState();
9-
10-
const play = usePlayState(
11-
story.nodes,
12-
story.selectedNodeId,
13-
story.variables
14-
);
9+
const play = usePlayState(story.story, story.selectedNodeId);
1510

1611
return (
1712
<div className="app-shell">

0 commit comments

Comments
 (0)