Hi there guys, I'm have a few issues with loading.tsx
so i have
app/loading.tsx
app/(dashboard)/loading.tsx
i need the dashboard loading because my dashboard group has a layout.tsx which has a sidebar. so i just want to load the actual page (on the right side).
pages like:
app/(dashboard)/(both)/home/page.tsxapp/(dashboard)/(both)/leases/page.tsx
works fine with the loading. however, pages in subfolder of these, like:app/(dashboard)/(both)/home/leases/[leaseID]/page.tsx
does not show the loading screen.
but if add another loading.tsx in:
app/(dashboard)/(both)/home/leases/[leaseID]/
then the loading shows.
i hope that makes sense 😂 reading it back is confusing me too. any help would be appreciated :)