Update Blank Referrer Text
I think this capitalization and spacing looks better after looking at it again.pull/1283/head
parent
b90b2b9bb2
commit
448a62d884
|
@ -56,7 +56,7 @@ export const refFilter = (data, { domain, domainOnly, raw }) => {
|
||||||
const cleanUrl = url => {
|
const cleanUrl = url => {
|
||||||
try {
|
try {
|
||||||
if (url === '') {
|
if (url === '') {
|
||||||
return 'direct/none';
|
return 'Direct / None';
|
||||||
}
|
}
|
||||||
|
|
||||||
const { hostname, origin, pathname, searchParams, protocol } = new URL(url);
|
const { hostname, origin, pathname, searchParams, protocol } = new URL(url);
|
||||||
|
|
Loading…
Reference in New Issue