Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 087626d

Browse files
committed
fix: console error
1 parent 14b70f5 commit 087626d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useDynamicImportJSON/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const useDynamicImportJSON = () => {
6262
setResponseInfo(data);
6363
})
6464
.catch(() => {
65-
setRequestInfo({});
65+
setResponseInfo({});
6666
});
6767
},
6868
[setRequestInfo, setResponseInfo],

0 commit comments

Comments
 (0)