diff --git a/app/components/chat.tsx b/app/components/chat.tsx
index 1ef3dabb514..b2c9785995e 100644
--- a/app/components/chat.tsx
+++ b/app/components/chat.tsx
@@ -449,8 +449,7 @@ export function ChatActions(props: {
       );
       showToast(nextModel);
     }
-    // eslint-disable-next-line react-hooks/exhaustive-deps
-  }, [currentModel, models]);
+  }, [chatStore, currentModel, models]);
 
   return (
     <div className={styles["chat-input-actions"]}>