eslint react/jsx-curly-brace-presence
This commit is contained in:
1 parent
dbfc1477aa
commit
7bcc5c4548
32 files changed
+57
-64
No files matched your search
@@ -181,7 +181,7 @@ const PremiumTextfield = (props: ICustomUsernameProps) => {
|
||||
return (
|
||||
<>
|
||||
<div style={{ display: "flex", justifyItems: "center" }}>
|
||||
<Label htmlFor={"username"}>{t("username")}</Label>
|
||||
<Label htmlFor="username">{t("username")}</Label>
|
||||
</div>
|
||||
<div className="mt-1 flex rounded-md shadow-sm">
|
||||
<span
|
||||
@@ -193,10 +193,10 @@ const PremiumTextfield = (props: ICustomUsernameProps) => {
|
||||
<div style={{ position: "relative", width: "100%" }}>
|
||||
<Input
|
||||
ref={usernameRef}
|
||||
name={"username"}
|
||||
autoComplete={"none"}
|
||||
autoCapitalize={"none"}
|
||||
autoCorrect={"none"}
|
||||
name="username"
|
||||
autoComplete="none"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="none"
|
||||
className={classNames(
|
||||
"mt-0 rounded-l-none",
|
||||
markAsError
|
||||
@@ -262,7 +262,7 @@ const PremiumTextfield = (props: ICustomUsernameProps) => {
|
||||
<PencilAltIcon className="m-auto h-6 w-6"></PencilAltIcon>
|
||||
</div>
|
||||
<div className="mb-4 w-full px-4 pt-1">
|
||||
<DialogHeader title={"Confirm username change"} />
|
||||
<DialogHeader title="Confirm username change" />
|
||||
{usernameChangeCondition && usernameChangeCondition !== UsernameChangeStatusEnum.NORMAL && (
|
||||
<p className="-mt-4 mb-4 text-sm text-gray-800">
|
||||
{usernameChangeCondition === UsernameChangeStatusEnum.UPGRADE &&
|
||||
|
||||
@@ -107,7 +107,7 @@ const UsernameTextfield = (props: ICustomUsernameProps) => {
|
||||
return (
|
||||
<>
|
||||
<div>
|
||||
<Label htmlFor={"username"}>{t("username")}</Label>
|
||||
<Label htmlFor="username">{t("username")}</Label>
|
||||
</div>
|
||||
<div className="mt-1 flex rounded-md shadow-sm">
|
||||
<span
|
||||
@@ -119,10 +119,10 @@ const UsernameTextfield = (props: ICustomUsernameProps) => {
|
||||
<div className="relative w-full">
|
||||
<Input
|
||||
ref={usernameRef}
|
||||
name={"username"}
|
||||
autoComplete={"none"}
|
||||
autoCapitalize={"none"}
|
||||
autoCorrect={"none"}
|
||||
name="username"
|
||||
autoComplete="none"
|
||||
autoCapitalize="none"
|
||||
autoCorrect="none"
|
||||
className={classNames(
|
||||
"mt-0 rounded-l-none",
|
||||
markAsError
|
||||
|
||||
Reference in new issue
Block a user