]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/utils/browser/can-share.ts
export default everything, will fix type errors next
[lemmy-ui.git] / src / shared / utils / browser / can-share.ts
index bec7e8051284eff9e03727d720bb6ad39bafcf62..f141fe505c46f334e03e9a142b524119430331aa 100644 (file)
@@ -1,5 +1,5 @@
-import { isBrowser } from "./is-browser";
+import isBrowser from "./is-browser";
 
-export function canShare() {
+export default function canShare() {
   return isBrowser() && !!navigator.canShare;
 }