Filter domain from referrers.

This commit is contained in:
Mike Cao 2020-08-07 02:46:21 -07:00
parent 00e232fee8
commit 0a411a9ad6
6 changed files with 15 additions and 8 deletions

View file

@ -77,7 +77,7 @@ export default function WebsiteDetails({ websiteId, defaultDateRange = '7day' })
websiteId={websiteId}
startDate={startDate}
endDate={endDate}
dataFilter={refFilter}
dataFilter={refFilter(data.domain)}
/>
</div>
</div>

View file

@ -47,7 +47,7 @@ export default function UserButton() {
return (
<div ref={ref} className={styles.container}>
<div onClick={() => setShowMenu(state => !state)}>
<Icon icon={<User />} size="L" className={styles.icon} />
<Icon icon={<User />} size="L" />
<Icon icon={<Chevron />} size="S" />
</div>
{showMenu && <Menu options={menuOptions} onSelect={handleSelect} align="right" />}

View file

@ -4,10 +4,6 @@
cursor: pointer;
}
.icon {
margin-right: 8px;
}
.username {
border-bottom: 1px solid var(--gray500);
}