mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 10:27:26 +00:00
resolved lint issue
This commit is contained in:
+2
-2
@@ -13,7 +13,7 @@ import {
|
|||||||
useUpdateUserAuthProviders
|
useUpdateUserAuthProviders
|
||||||
} from "@app/hooks/api";
|
} from "@app/hooks/api";
|
||||||
|
|
||||||
const authMethods = [
|
const authMethodList = [
|
||||||
{ label: "Email", value: "email" },
|
{ label: "Email", value: "email" },
|
||||||
{ label: "Google SSO", value: "google" },
|
{ label: "Google SSO", value: "google" },
|
||||||
{ label: "GitHub SSO", value: "github" },
|
{ label: "GitHub SSO", value: "github" },
|
||||||
@@ -103,7 +103,7 @@ export const AuthMethodSection = () => {
|
|||||||
</h2>
|
</h2>
|
||||||
<div className="max-w-md mb-4">
|
<div className="max-w-md mb-4">
|
||||||
{
|
{
|
||||||
authMethods.map(authMethod => (
|
authMethodList.map(authMethod => (
|
||||||
<Checkbox
|
<Checkbox
|
||||||
className="data-[state=checked]:bg-primary"
|
className="data-[state=checked]:bg-primary"
|
||||||
id={`auth-method-id-${authMethod.label}`}
|
id={`auth-method-id-${authMethod.label}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user