This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
const fixHotjar = () => { | |
// add sync style tag to head | |
const syncStyles = document.createElement('style') | |
syncStyles.type = 'text/css' | |
document.head.insertBefore(syncStyles, document.head.children[0]) | |
// start styles sync | |
let lastStyles |