From 80eef1c83a5360f09a044b260018d0aa23b27097 Mon Sep 17 00:00:00 2001 From: alexandermendes Date: Wed, 13 Nov 2024 21:55:33 +0000 Subject: [PATCH] refactor: rename file --- src/provider.tsx | 2 +- src/utils/{calculate-aprs.ts => apr.ts} | 0 tests/utils/calculate-aprs.test.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/utils/{calculate-aprs.ts => apr.ts} (100%) diff --git a/src/provider.tsx b/src/provider.tsx index 0bd4939..1985510 100644 --- a/src/provider.tsx +++ b/src/provider.tsx @@ -30,7 +30,7 @@ import { withdraw, withdrawAll, } from './utils/staking.js'; -import { calculateAprs } from './utils/calculate-aprs.js'; +import { calculateAprs } from './utils/apr.js'; import { sleep } from './utils/sleep.js'; import { useWeb3Provider } from './hooks/useWeb3Provider.js'; import { Stream } from './types/stream.js'; diff --git a/src/utils/calculate-aprs.ts b/src/utils/apr.ts similarity index 100% rename from src/utils/calculate-aprs.ts rename to src/utils/apr.ts diff --git a/tests/utils/calculate-aprs.test.ts b/tests/utils/calculate-aprs.test.ts index 90c44e3..f4ee454 100644 --- a/tests/utils/calculate-aprs.test.ts +++ b/tests/utils/calculate-aprs.test.ts @@ -1,5 +1,5 @@ import { BigNumber } from 'ethers'; -import { calculateAprs } from '../../src/utils/calculate-aprs'; +import { calculateAprs } from '../../src/utils/apr'; jest.useFakeTimers();