Added share it

This commit is contained in:
vjrj 2018-02-12 12:18:50 +01:00
parent 28d8f695c1
commit cd80d72e32
9 changed files with 219 additions and 7 deletions

View file

@ -10,4 +10,12 @@ export const currentLocation = () => {
return location.get();
};
export const currentLocationHref = () => {
if (Meteor.isClient) {
return window.location.href;
}
// FIXME
return location.get();
};
export const isHome = () => currentLocation() === '/';