1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-23 00:00:51 -05:00

don't load fathom script unless on production

This commit is contained in:
2022-05-16 09:40:36 -04:00
parent cf4f2fe442
commit 2f695be18f
12 changed files with 40 additions and 46 deletions

View File

@@ -14,7 +14,7 @@ const Player = styled(ReactPlayer, {
left: 0,
// target both the lazy thumbnail preview *and* the actual YouTube embed
"& .react-player__preview, & iframe": {
".react-player__preview, iframe": {
borderRadius: "$rounded",
},
});