diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx
index 5fd4cd033..bb0c52735 100644
--- a/app/components/chat/BaseChat.tsx
+++ b/app/components/chat/BaseChat.tsx
@@ -26,7 +26,7 @@ const EXAMPLE_PROMPTS = [
const providerList = [...new Set(MODEL_LIST.map((model) => model.provider))]
-const ModelSelector = ({ model, setModel, modelList, providerList, provider, setProvider }) => {
+const ModelSelector = ({ model, setModel, provider, setProvider, modelList, providerList }) => {
return (