Use explicit params on loader function
I have a pathless route of
Now I also have a
But In the loader of
But the loader param object is now type of
"/_layoutMain" which is basically my layout.Now I also have a
"/channels/$guildId" route.But In the loader of
"/_layoutMain" I need to get the "$guildId" of "/channels"But the loader param object is now type of
Record<never, string> So I can't convince it that there is indeed a param here.