mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 14:28:20 +00:00
Fix lint issues
This commit is contained in:
+1
-2
@@ -97,7 +97,7 @@ export const CreateClientSecretModal = ({
|
|||||||
}: FormData) => {
|
}: FormData) => {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
if (popUpData) {
|
if (!popUpData?.machineId) return;
|
||||||
|
|
||||||
const { clientSecret } = await createClientSecretMutateAsync({
|
const { clientSecret } = await createClientSecretMutateAsync({
|
||||||
machineId: popUpData.machineId,
|
machineId: popUpData.machineId,
|
||||||
@@ -106,7 +106,6 @@ export const CreateClientSecretModal = ({
|
|||||||
});
|
});
|
||||||
|
|
||||||
setToken(clientSecret);
|
setToken(clientSecret);
|
||||||
}
|
|
||||||
|
|
||||||
createNotification({
|
createNotification({
|
||||||
text: "Successfully created client secret",
|
text: "Successfully created client secret",
|
||||||
|
|||||||
Reference in New Issue
Block a user