fix: update error handling in JSON parsing and add ESLint rule for unused variables

This commit is contained in:
jeetul.samaiya 2025-09-07 14:22:14 +05:30
commit 6f727b6662

View file

@ -90,7 +90,7 @@ const CustomHeaders = ({
onChange(newHeaders);
setJsonError(null);
setIsJsonMode(false);
} catch (error) {
} catch {
setJsonError("Invalid JSON format");
}
};