LunatiqueCoder / luna

Luna - a React Native + Next.js template. Built with TypeScript :heart:
https://luna-gamma.vercel.app/
MIT License
264 stars 17 forks source link

fix(web): if no page title or route title, don't emit hyphen #42

Closed mikehardy closed 2 years ago

mikehardy commented 2 years ago

saw this as a corner case of a routing issue I was having. It may not happen for most people that have their Linking set up correctly, but if for some reason you have a null title and no route name, the formatter shouldn't emit a hypen in web title