mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix lint issues
This commit is contained in:
@@ -97,16 +97,15 @@ export const CreateClientSecretModal = ({
|
||||
}: FormData) => {
|
||||
try {
|
||||
|
||||
if (popUpData) {
|
||||
if (!popUpData?.machineId) return;
|
||||
|
||||
const { clientSecret } = await createClientSecretMutateAsync({
|
||||
machineId: popUpData.machineId,
|
||||
description,
|
||||
ttl: Number(ttl)
|
||||
});
|
||||
|
||||
const { clientSecret } = await createClientSecretMutateAsync({
|
||||
machineId: popUpData.machineId,
|
||||
description,
|
||||
ttl: Number(ttl)
|
||||
});
|
||||
|
||||
setToken(clientSecret);
|
||||
}
|
||||
setToken(clientSecret);
|
||||
|
||||
createNotification({
|
||||
text: "Successfully created client secret",
|
||||
|
||||
Reference in New Issue
Block a user