]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/utils/browser/share.ts
export default everything, will fix type errors next
[lemmy-ui.git] / src / shared / utils / browser / share.ts
index b1d1b5beddfe2aef7214346b18cca1c1a1a40da1..9ae94974c3045edf98a4b31828c5884c0ae5b88e 100644 (file)
@@ -1,6 +1,6 @@
-import { isBrowser } from "./is-browser";
+import isBrowser from "./is-browser";
 
-export function share(shareData: ShareData) {
+export default function share(shareData: ShareData) {
   if (isBrowser()) {
     navigator.share(shareData);
   }