We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0f56f commit 5a13a74Copy full SHA for 5a13a74
apps/landing/src/utils/is-root.ts
@@ -1,5 +1,5 @@
1
import { URL_PREFIX } from '../constants'
2
3
export function isRoot(path: string) {
4
- return URL_PREFIX + '/' === path
+ return URL_PREFIX + '/' === path || '/' === path
5
}
0 commit comments