PWA updating with precache

This commit is contained in:
Ben Grant 2021-06-16 23:48:43 +10:00
parent 52699840b6
commit 64cd9fc1f5
7 changed files with 75 additions and 177 deletions

View file

@ -28,7 +28,7 @@ const Privacy = () => {
document.title = `${t('privacy:name')} - Crab Fit`;
}, [t]);
useEffect(() => setContent(contentRef.current?.innerText || ''), [contentRef.current]);
useEffect(() => setContent(contentRef.current?.innerText || ''), [contentRef]);
return (
<>