refactor: workspace switcher style and submit form reset
This commit is contained in:
parent
b64ca8b300
commit
5f47831f8e
@ -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'
|
||||
)}
|
||||
>
|
||||
|
@ -76,6 +76,7 @@ function PageComponent() {
|
||||
workspaceId,
|
||||
targetUserEmail: values.email,
|
||||
});
|
||||
form.reset();
|
||||
|
||||
refetchMembers();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user