Skip to content

Commit 2b2f7de

Browse files
committed
fix: fix react 18 build with ts ignore
1 parent 3031696 commit 2b2f7de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-intlayer/src/server/useLoadDynamic.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** @ts-ignore remove error Property 'cache' does not exist on type 'typeof React'. */
12
import { cache, use } from 'react';
23

34
export const useLoadDynamic = <T>(_key: string, promise: Promise<T>): T => {

0 commit comments

Comments
 (0)