From ebcf5ecba26146008c3ae53034167615b054351c Mon Sep 17 00:00:00 2001 From: Pabloader Date: Thu, 26 Mar 2026 11:11:45 +0000 Subject: [PATCH] Fix story editing instead of scratchpad --- src/games/storywriter/components/editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {