File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ import { getNextEpochTimestamp } from '@/config';
22import { getServerConfig } from '@/config/serverConfig' ;
33import { getSSURL } from '@/lib/actions' ;
44import { differenceInSeconds } from 'date-fns' ;
5- import { cache } from 'react' ;
65import { formatUnits } from 'viem' ;
76
8- const fetchCachedR1MintedLastEpoch = cache ( async ( ) => {
7+ const fetchCachedR1MintedLastEpoch = async ( ) => {
98 const url = await getSSURL ( 'r1-minted-last-epoch' ) ;
109 const { config } = await getServerConfig ( ) ;
1110
@@ -18,7 +17,7 @@ const fetchCachedR1MintedLastEpoch = cache(async () => {
1817 } = await res . json ( ) ;
1918
2019 return data . value ;
21- } ) ;
20+ } ;
2221
2322export default async function R1MintedLastEpoch ( ) {
2423 let value : string | undefined ;
You can’t perform that action at this time.
0 commit comments