mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 20:38:32 +02:00
Various Nits (#3228)
This commit is contained in:
@@ -414,7 +414,6 @@ export function AssistantEditor({
|
||||
}
|
||||
|
||||
await refreshAssistants();
|
||||
console.log("redirectType", redirectType);
|
||||
router.push(
|
||||
redirectType === SuccessfulPersonaUpdateRedirectType.ADMIN
|
||||
? `/admin/assistants?u=${Date.now()}`
|
||||
|
@@ -98,10 +98,8 @@ export const AssistantsProvider: React.FC<{
|
||||
}
|
||||
|
||||
if (allResponse.ok) {
|
||||
console.log("allResponse", allResponse);
|
||||
const allPersonas = await allResponse.json();
|
||||
setAllAssistants(allPersonas);
|
||||
console.log("allAssistants", allAssistants);
|
||||
} else {
|
||||
console.error("Error fetching personas:", allResponse);
|
||||
}
|
||||
|
Reference in New Issue
Block a user