Styles in global-error.tsx not being applied
Unanswered
Old Croatian Sighthound posted this in #help-forum
Old Croatian SighthoundOP
In my global-error-tsx file I import my styles the same way as in my root layout.tsx:
When a global error is triggered and I inspect the page, no CSS is applied at all.
When I look in the netwrok tab, both the CSS and Google font file seem to have been loaded, so all the styles are there. But the files are not added to the page's <head> section.
'use client'
import "@/assets/styles/app.css";
...
When a global error is triggered and I inspect the page, no CSS is applied at all.
When I look in the netwrok tab, both the CSS and Google font file seem to have been loaded, so all the styles are there. But the files are not added to the page's <head> section.