Ron Au commited on
Commit
ed0a6c7
1 Parent(s): c0087aa

perf(html-to-image): Use faster package

Browse files
Files changed (1) hide show
  1. static/js/dom-manipulation.js +1 -1
static/js/dom-manipulation.js CHANGED
@@ -1,4 +1,4 @@
1
- import { toPng } from 'https://cdn.skypack.dev/html-to-image';
2
 
3
  const updateCardName = (trainerName, pokeName, useTrainerName) => {
4
  const cardName = document.querySelector('.pokecard .name');
 
1
+ import { toPng } from 'https://cdn.jsdelivr.net/npm/html-to-image@~1.9/es/index.js/+esm';
2
 
3
  const updateCardName = (trainerName, pokeName, useTrainerName) => {
4
  const cardName = document.querySelector('.pokecard .name');