From 70a142b84d01e89b56d027b24e37122fa90fe25b Mon Sep 17 00:00:00 2001
From: Sam Wilkins <samwilkins333@gmail.com>
Date: Wed, 9 Oct 2019 16:53:16 -0400
Subject: better authentication feedback, cleanup

---
 src/client/util/SharingManager.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/util/SharingManager.tsx')

diff --git a/src/client/util/SharingManager.tsx b/src/client/util/SharingManager.tsx
index 91c8c572d..1541cd6b2 100644
--- a/src/client/util/SharingManager.tsx
+++ b/src/client/util/SharingManager.tsx
@@ -218,7 +218,7 @@ export default class SharingManager extends React.Component<{}> {
         if (!metadata) {
             return SharingPermissions.None;
         }
-        return StrCast(metadata.permissions, SharingPermissions.None)!;
+        return StrCast(metadata.permissions, SharingPermissions.None);
     }
 
     private get sharingInterface() {
-- 
cgit v1.2.3-70-g09d2

