refresh homepage if clicking 'home' while on the homepage

This commit is contained in:
Sean Yesmunt 2020-12-08 11:42:11 -05:00
parent 0ef0966226
commit caae63b44b

View file

@ -20,6 +20,9 @@ const HOME = {
title: 'Home',
link: `/`,
icon: ICONS.HOME,
onClick: () => {
if (window.location.pathname === '/') window.location.reload();
},
};
const RECENT_FROM_FOLLOWING = {