Skip to content

Commit

Permalink
feat: add set value
Browse files Browse the repository at this point in the history
  • Loading branch information
answershuto committed Jul 24, 2023
1 parent 3763131 commit d0836d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cache-canvas/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const CacheCanvas = forwardRef((props: CacheCanvasProps, ref) => {
}
if (!base64Data) {
localStorage.getItem('${cacheKey}');
base64Data = localStorage.getItem(${JSON.stringify(cacheKey)});
}
const fallback = document.getElementById('fallback-${id}');
Expand Down

0 comments on commit d0836d6

Please sign in to comment.