Skip to content

Commit a3cedce

Browse files
committed
Update setFullUrl to use window.location.origin
1 parent c7bacb7 commit a3cedce

File tree

1 file changed

+1
-1
lines changed
  • lazyweb/components/desktop/ResourceList

1 file changed

+1
-1
lines changed

lazyweb/components/desktop/ResourceList/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const ResourceList = (props: Props) => {
3636

3737
useEffect(() => {
3838
if (window && window !== undefined) {
39-
setFullUrl(window.location.href)
39+
setFullUrl(window.location.origin)
4040
}
4141
}
4242
, [])

0 commit comments

Comments
 (0)