Merge branch 'main' into breakout-role-utils

This commit is contained in:
SleeplessOne1917 2023-06-20 21:12:18 +00:00 committed by GitHub
commit 4da34c1370
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 116 additions and 77 deletions

View file

@ -193,7 +193,10 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
// !!this.state.form.name || !!this.state.form.url || !!this.state.form.body;
// <Prompt when={promptCheck} message={i18n.t("block_leaving")} />
return (
<form onSubmit={linkEvent(this, this.handlePostSubmit)}>
<form
className="post-form"
onSubmit={linkEvent(this, this.handlePostSubmit)}
>
<NavigationPrompt
when={
!!(