Skip to content

Commit e986088

Browse files
committed
chore: correct typo
1 parent 26c3edd commit e986088

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/chat.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,8 @@ export function ChatActions(props: {
520520

521521
// if current model is not available
522522
// switch to first available model
523-
const isUnavaliableModel = !models.some((m) => m.name === currentModel);
524-
if (isUnavaliableModel && models.length > 0) {
523+
const isUnavailableModel = !models.some((m) => m.name === currentModel);
524+
if (isUnavailableModel && models.length > 0) {
525525
// show next model to default model if exist
526526
let nextModel = models.find((model) => model.isDefault) || models[0];
527527
chatStore.updateCurrentSession((session) => {

0 commit comments

Comments
 (0)