Remove CSP

This commit is contained in:
2023-10-19 16:49:35 -04:00
parent ee68c1b13d
commit c97029e510
4 changed files with 7 additions and 34 deletions

View File

@ -16,14 +16,10 @@ Sentry.init({
});
function ClientCacheProvider({ children }: { children: ReactNode }) {
const nonce =
document
.querySelector("meta[name='style-nonce']")
?.getAttribute("content") || undefined;
const [cache, setCache] = useState(createEmotionCache(nonce));
const [cache, setCache] = useState(createEmotionCache());
function reset() {
setCache(createEmotionCache(nonce));
setCache(createEmotionCache());
}
return (