Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Nov 6, 2024
1 parent f10eb63 commit 91002cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/components/context/AssistantsContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ export const AssistantsProvider: React.FC<{
current_assistant: currentAssistant,
}),
});
if (!response.ok) {
return;
}
setRecentAssistants((recentAssistants) => [
assistants.find((assistant) => assistant.id === currentAssistant)!,

Expand Down

0 comments on commit 91002cc

Please sign in to comment.