Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 3306a70

Browse files
committed
Eslint
1 parent 2ae51d5 commit 3306a70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/views/channel/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,8 @@ class ChannelView extends React.Component<Props> {
154154
const selectedView = tab;
155155
if (channel && channel.id) {
156156
// at this point the view is no longer loading, has not encountered an error, and has returned a channel record
157-
const { isMember, isOwner, isModerator } = channel.channelPermissions;
157+
const { isMember, isOwner } = channel.channelPermissions;
158158
const { community } = channel;
159-
const userHasPermissions = isMember || isOwner || isModerator;
160159
const isGlobalOwner =
161160
isOwner || channel.community.communityPermissions.isOwner;
162161

0 commit comments

Comments
 (0)