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