From 3b25f2346bc2cc661269be472fc301ce7fd8c144 Mon Sep 17 00:00:00 2001 From: OGPoyraz Date: Wed, 19 Jun 2024 16:16:27 +0200 Subject: [PATCH] Fix lint --- ui/helpers/utils/util.js | 2 +- ui/helpers/utils/util.test.js | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ui/helpers/utils/util.js b/ui/helpers/utils/util.js index d44fbb8f0f2c..909c7c2c2d8a 100644 --- a/ui/helpers/utils/util.js +++ b/ui/helpers/utils/util.js @@ -213,7 +213,7 @@ export function getRandomFileName() { * Returns the string it is no longer than truncatedCharLimit. * * @param {string} stringToShorten - The string to shorten. - * @param {Object} options - The options to use when shortening the string. + * @param {object} options - The options to use when shortening the string. * @param {number} options.truncatedCharLimit - The maximum length of the string. * @param {number} options.truncatedStartChars - The number of characters to preserve at the beginning. * @param {number} options.truncatedEndChars - The number of characters to preserve at the end. diff --git a/ui/helpers/utils/util.test.js b/ui/helpers/utils/util.test.js index 460ae7e9968b..ce60fcdd85f8 100644 --- a/ui/helpers/utils/util.test.js +++ b/ui/helpers/utils/util.test.js @@ -4,11 +4,6 @@ import { CHAIN_IDS } from '../../../shared/constants/network'; import { addHexPrefixToObjectValues } from '../../../shared/lib/swaps-utils'; import { toPrecisionWithoutTrailingZeros } from '../../../shared/lib/transactions-controller-utils'; import * as util from './util'; -import { - TRUNCATED_ADDRESS_START_CHARS, - TRUNCATED_NAME_CHAR_LIMIT, - TRUNCATED_ADDRESS_END_CHARS, -} from '../../../shared/constants/labels'; describe('util', () => { let ethInWei = '1';