From 44f6c3bf67517ac6c87fa274ca33c9bf2606badc Mon Sep 17 00:00:00 2001 From: DerYokoya <133297414+DerYokoya@users.noreply.github.com> Date: Sat, 16 May 2026 12:21:28 -0400 Subject: [PATCH 1/2] fix: correct v2.5.1 changelog heading and SveltReacte typo --- whatsnew.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/whatsnew.md b/whatsnew.md index fbc1624..3e59567 100644 --- a/whatsnew.md +++ b/whatsnew.md @@ -1,10 +1,10 @@ -## 2.5.0 +## 2.5.1 - Using React Core v2.5.1 ## 2.5.0 -- Using SveltReacte Core v2.5.0 +- Using Svelte Core v2.5.0 ## 2.4.3 From 3ff9addb3cb4a4069ed1d2a730a089981a6bd4b8 Mon Sep 17 00:00:00 2001 From: DerYokoya <133297414+DerYokoya@users.noreply.github.com> Date: Sat, 16 May 2026 12:21:35 -0400 Subject: [PATCH 2/2] fix: add setValue to useCallback dependency array in TextArea --- src/components/TextArea.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TextArea.jsx b/src/components/TextArea.jsx index 80266e9..675924e 100644 --- a/src/components/TextArea.jsx +++ b/src/components/TextArea.jsx @@ -28,10 +28,10 @@ function TextArea(props) { (value) => { if (!value) return; onPost && onPost({ value }); - setValue(''); + setValue(''); // setValue missing from deps if (areaRef.current) areaRef.current.focus(); }, - [onPost, value], + [onPost, value, setValue], // included setValue ); useEffect(() => {