]> Untitled Git - lemmy-ui.git/blob - src/shared/utils/browser/share.ts
Merge branch 'main' into breakout-role-utils
[lemmy-ui.git] / src / shared / utils / browser / share.ts
1 import { isBrowser } from "./is-browser";
2
3 export function share(shareData: ShareData) {
4   if (isBrowser()) {
5     navigator.share(shareData);
6   }
7 }