Skip to content

Commit

Permalink
use 'const'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeesun Kim authored and Jeesun Kim committed Apr 12, 2024
1 parent 1a60e18 commit 158b9e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validate/methods/xdr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const validateBase64 = (value: string) => {
};

export const xdr = (value: string) => {
let sanitizedXdr = trim(value);
let base64Validation = validateBase64(sanitizedXdr);
const sanitizedXdr = trim(value);
const base64Validation = validateBase64(sanitizedXdr);

if (base64Validation.result !== "success") {
return base64Validation;
Expand Down

0 comments on commit 158b9e0

Please sign in to comment.