Skip to content

Commit

Permalink
fix(icon): add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaMaid committed Feb 15, 2019
1 parent e7cddaa commit c1e23c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.8.19](https://github.com/Yoshino-UI/Yoshino/compare/v0.8.18...v0.8.19) (2019-01-29)



## [0.8.18](https://github.com/Yoshino-UI/Yoshino/compare/v0.8.17...v0.8.18) (2019-01-29)


Expand Down
1 change: 1 addition & 0 deletions components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class Icon extends Component<IIconProps, IIconState> {
svg = svgCaches[type];
} else {
svg = await Archer.fetchSvg(`${svgTarget}${type}.svg`);
svgCaches[type] = svg;
}
return svg;
}
Expand Down

0 comments on commit c1e23c0

Please sign in to comment.