shellscape / jsx-email

Build emails with a delightful DX
https://jsx.email
MIT License
895 stars 28 forks source link

fix(app-preview): Change how root path is determined for singular template #150

Closed ryanlanciaux closed 5 months ago

ryanlanciaux commented 5 months ago

This PR contains:

Are tests included?

Breaking Changes?

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

There is an issue when there is only one template present and how the path for the sidebar is handled. This should resolve that issue but selecting the root path in a different way for singular templates.

sysmat commented 5 months ago

There should not be differences in path resolution from single or multiple templates

shellscape commented 5 months ago

@sysmat that was changed up. not to worry.