]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/utils/roles/is-banned.ts
export default everything, will fix type errors next
[lemmy-ui.git] / src / shared / utils / roles / is-banned.ts
index dd5ffe6c7ec5df01c3ec0e276a181b2323e312ab..d71f6f4f87c3c329db3eb320e61fc2c00411c2e5 100644 (file)
@@ -1,6 +1,6 @@
 import { Person } from "lemmy-js-client";
 
-export function isBanned(ps: Person): boolean {
+export default function isBanned(ps: Person): boolean {
   const expires = ps.ban_expires;
   // Add Z to convert from UTC date
   // TODO this check probably isn't necessary anymore