Where to put global-error.tsx?
Answered
African Slender-snouted Crocodil… posted this in #help-forum
African Slender-snouted CrocodileOP
I'm using route groups. Where should I put my global-error.tsx?
Here's my structure:
app/(dashboard)
app/(search)
should i put global-error.tsx in app/(dashboard), app/ or in both?
Here's my structure:
app/(dashboard)
app/(search)
should i put global-error.tsx in app/(dashboard), app/ or in both?
4 Replies
Answer
African Slender-snouted CrocodileOP
so i only need one in total for my entire application?
yes
African Slender-snouted CrocodileOP
ok cool, thanks