fix: yarn lint fix
This commit is contained in:
parent
4cda1e2866
commit
90d130e8a0
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue