React Typescript pageLayout

React Typescript pageLayout Hi everyone, I'm trying to achieve something and it seems very impossible with React && typescript. I have an application that has two header(s) at the top of every page, in this case the Login page takes Header1 and the dashboard page takes Header2, so the Header(s) depends on the page routing. Does anyone have an ideal on how to make this work ? I can also share what I have done as well for more clarity. Thank You. I have tried the same thing with just Nextjs and it worked but Typescript is making it look so hard.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server