diff --git a/src/games/storywriter/components/editor.tsx b/src/games/storywriter/components/editor.tsx index a92384b..acbfbf9 100644 --- a/src/games/storywriter/components/editor.tsx +++ b/src/games/storywriter/components/editor.tsx @@ -32,7 +32,7 @@ export const Editor = () => { const handleScratchpadInput = useInputCallback((text: string) => { if (!currentStory) return; - dispatch({ type: 'EDIT_STORY', id: currentStory.id, text }); + dispatch({ type: 'EDIT_SCRATCHPAD', id: currentStory.id, text }); }, [currentStory?.id]); const handleTabChange = (tab: Tab) => {