fix: yarn lint fix

This commit is contained in:
P. Reis 2024-10-18 19:33:29 -03:00
parent 4cda1e2866
commit 90d130e8a0
2 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ interface SplitValue {
*
* @param {StatusEntity | undefined} status - The current status entity.
* @param {AccountEntity} account - The account for which the zap split calculation is done.
*
*
* @returns {Object} An object containing the zap split arrays, zap split data, and a function to calculate the received amount.
*
*
* @property {ZapSplitData[]} zapArrays - Array of zap split data returned from the API.
* @property {Object} zapSplitData - Contains the total split amount, amount to receive, and individual split values.
* @property {Function} receiveAmount - A function to calculate the zap amount based on the split configuration.

View File

@ -7,7 +7,7 @@ const addMethodsToAccount = (account: Account) => {
...account,
get: (key: string) => (account as any)[key],
getIn: (path: string[]) => path.reduce((acc, key) => (acc as any)[key], account),
toJS: () => account,
toJS: () => account,
};
};