Skip to content

Commit 4775b94

Browse files
authored
fix: icon service wrong code (#242)
* fix: wrong code * chore: update version
1 parent 3b4b8d3 commit 4775b94

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@antv/infographic",
3-
"version": "0.2.17",
3+
"version": "0.2.18",
44
"description": "An Infographic Generation and Rendering Framework, bring words to life!",
55
"keywords": [
66
"antv",

‎site/src/components/IconPage/index.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ export function IconPageContent() {
260260
});
261261
const response = await fetch(
262262
`https://www.weavefox.cn/api/v1/infographic/icon?${params.toString()}`
263+
);
264+
const result = await response.json();
263265
if (result.success && Array.isArray(result.data)) {
264266
setIcons(result.data);
265267
} else {

‎src/version.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.2.17';
1+
export const VERSION = '0.2.18';

0 commit comments

Comments
 (0)