remove duplicate config reload on session change, fix reload config button
This commit is contained in:
parent
82e3b02f34
commit
75781e8d8c
2 changed files with 1 additions and 3 deletions
|
|
@ -161,10 +161,9 @@ export function AssistantAndOrgListbox() {
|
|||
</ListboxOption>
|
||||
|
||||
<ListboxOption
|
||||
value="new-assistant"
|
||||
value="reload-config"
|
||||
fontSizeModifier={-2}
|
||||
className="border-border border-b px-2 py-1.5"
|
||||
onClick={session ? onNewAssistant : () => login(false)}
|
||||
>
|
||||
<span
|
||||
className="text-description flex flex-row items-center"
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({
|
|||
"sessionUpdate",
|
||||
async (data) => {
|
||||
setSession(data.sessionInfo);
|
||||
void refreshProfiles();
|
||||
},
|
||||
[],
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue