File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
site/src/modules/workspaces/WorkspaceSharingForm Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ import {
3434} from "components/Table/Table" ;
3535import { TableLoader } from "components/TableLoader/TableLoader" ;
3636import { EllipsisVertical , UserPlusIcon } from "lucide-react" ;
37+ import { getGroupSubtitle } from "modules/groups" ;
3738import type { FC , ReactNode } from "react" ;
38- import { getGroupSubtitle } from "utils/groups" ;
3939
4040interface RoleSelectProps {
4141 value : WorkspaceRole ;
@@ -95,12 +95,7 @@ export const AddWorkspaceMemberForm: FC<AddWorkspaceMemberFormProps> = ({
9595 children,
9696} ) => {
9797 return (
98- < form
99- onSubmit = { ( event ) => {
100- event . preventDefault ( ) ;
101- onSubmit ( ) ;
102- } }
103- >
98+ < form action = { onSubmit } >
10499 < div className = "flex flex-row items-center gap-2" >
105100 { children }
106101 < Button disabled = { disabled || isLoading } type = "submit" >
You can’t perform that action at this time.
0 commit comments