]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/components/community/community-form.tsx
component classes v2
[lemmy-ui.git] / src / shared / components / community / community-form.tsx
index d44ba315959ddb35010d0d9e94c877b732928879..655a07522b8e31fa9baf952da19bf0a8b64e18c3 100644 (file)
@@ -85,7 +85,10 @@ export class CommunityForm extends Component<
 
   render() {
     return (
-      <form onSubmit={linkEvent(this, this.handleCreateCommunitySubmit)}>
+      <form
+        className="community-form"
+        onSubmit={linkEvent(this, this.handleCreateCommunitySubmit)}
+      >
         <NavigationPrompt
           when={
             !this.props.loading &&