Skip to content

Commit

Permalink
chore: network error, republish
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuoni committed Jul 23, 2021
1 parent e79b2bf commit e662af6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/hd/src/template.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ if (typeof document !== 'undefined') {
}, 300);
};
setFontSize();
win.addEventListener('resize', () => {
setFontSize();
});
win.addEventListener('resize', setFontSize);

// hd solution for antd-mobile@2
// ref: https://mobile.ant.design/docs/react/upgrade-notes-cn#%E9%AB%98%E6%B8%85%E6%96%B9%E6%A1%88
Expand Down

0 comments on commit e662af6

Please sign in to comment.