Skip to content

Commit 596d889

Browse files
Remove unused assignment
Co-authored-by: Kevin Zuniga Cuellar <46791833+kevinzunigacuellar@users.noreply.github.com>
1 parent 06e499f commit 596d889

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/starlight/utils/createPathFormatter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ function formatPath(
4747
if (format === 'file') return href;
4848

4949
// Handle trailing slash
50-
href ||= '/';
5150
href = href === '/' ? href : trailingSlashStrategy(href);
5251

5352
return href;

0 commit comments

Comments
 (0)