Skip to content

Commit 5a13a74

Browse files
committed
Fix root
1 parent 1b0f56f commit 5a13a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/landing/src/utils/is-root.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { URL_PREFIX } from '../constants'
22

33
export function isRoot(path: string) {
4-
return URL_PREFIX + '/' === path
4+
return URL_PREFIX + '/' === path || '/' === path
55
}

0 commit comments

Comments
 (0)