refactor: workspace switcher style and submit form reset

This commit is contained in:
moonrailgun 2024-08-29 04:43:44 +08:00
parent b64ca8b300
commit 5f47831f8e
2 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,7 @@ export const WorkspaceSwitcher: React.FC<WorkspaceSwitcherProps> = React.memo(
<span
className={cn(
'flex-1 overflow-hidden text-ellipsis',
'flex-1 overflow-hidden text-ellipsis text-left',
props.isCollapsed && 'hidden'
)}
>

View File

@ -76,6 +76,7 @@ function PageComponent() {
workspaceId,
targetUserEmail: values.email,
});
form.reset();
refetchMembers();
}