mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
Fix lint errors
This commit is contained in:
@@ -47,7 +47,7 @@ const createServiceTokenSchema = yup.object({
|
||||
permissions: yup.object().shape({
|
||||
read: yup.boolean().required(),
|
||||
write: yup.boolean().required()
|
||||
})
|
||||
}).defined().required()
|
||||
});
|
||||
|
||||
export type CreateServiceToken = yup.InferType<typeof createServiceTokenSchema>;
|
||||
@@ -248,6 +248,7 @@ export const ServiceTokenSection = ({
|
||||
// TODO: refactor
|
||||
return (
|
||||
<Checkbox
|
||||
id={value[optionValue]}
|
||||
key={optionValue}
|
||||
className="data-[state=checked]:bg-primary"
|
||||
isChecked={value[optionValue]}
|
||||
|
||||
Reference in New Issue
Block a user