Skip to content

Commit

Permalink
lint: comply with rules
Browse files Browse the repository at this point in the history
  • Loading branch information
alexruzenhack committed May 10, 2024
1 parent 4e9ebc1 commit 37fa2b3
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/components/Icon/Base.icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

import { ReactNode } from 'react';
import { StyleSheet, View } from 'react-native';
import { COLORS } from '../../styles/themes';

Expand Down
2 changes: 1 addition & 1 deletion src/components/Icon/NanoContract.icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import * as React from 'react'
import Svg, { SvgProps, Path } from 'react-native-svg'
import Svg, { Path } from 'react-native-svg'
import { BaseIcon } from './Base.icon';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/Icon/Oracle.icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import * as React from 'react'
import Svg, { SvgProps, Path } from 'react-native-svg'
import Svg, { Path } from 'react-native-svg'
import { BaseIcon } from './Base.icon';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/Icon/Pen.icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import * as React from 'react'
import Svg, { SvgProps, Path } from 'react-native-svg'
import Svg, { Path } from 'react-native-svg'
import { BaseIcon } from './Base.icon';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/Icon/RandomTx.icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import * as React from 'react'
import Svg, { SvgProps, Path } from 'react-native-svg'
import Svg, { Path } from 'react-native-svg'
import { BaseIcon } from './Base.icon';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/Icon/Registered.icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import * as React from 'react'
import Svg, { SvgProps, Path } from 'react-native-svg'
import Svg, { Path } from 'react-native-svg'
import { BaseIcon } from './Base.icon';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/components/Icon/Wallet.icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import * as React from 'react'
import Svg, { SvgProps, Path } from 'react-native-svg'
import Svg, { Path } from 'react-native-svg'
import { BaseIcon } from './Base.icon';

/**
Expand Down
1 change: 0 additions & 1 deletion src/reducers/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { INITIAL_TOKENS, DEFAULT_TOKEN, PUSH_API_STATUS, FEATURE_TOGGLE_DEFAULTS
import { types } from '../actions';
import { TOKEN_DOWNLOAD_STATUS } from '../sagas/tokens';
import { WALLET_STATUS } from '../sagas/wallet';
import { TxHistory } from '../models';

/**
* tokensBalance {Object} stores the balance for each token (Dict[tokenUid: str, {
Expand Down
4 changes: 0 additions & 4 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ export const getShortHash = (hash, length = 4) => (
`${hash.substring(0, length)}...${hash.substring(64 - length, 64)}`
);

export const getShortContent = (value, length = 4) => (
`${value.substring(0, length)}...${value.substring(value.length - length, value.length)}`
);

/**
* It short any string content without length bound.
* @param {string} content Content to be sliced in two parts
Expand Down

0 comments on commit 37fa2b3

Please sign in to comment.