Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kristian-mkd committed Oct 25, 2024
1 parent d73568c commit d174779
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
3 changes: 2 additions & 1 deletion packages/client/src/store/CallState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,8 @@ export class CallState {
'call.hls_broadcasting_started': this.updateFromHLSBroadcastStarted,
'call.hls_broadcasting_stopped': this.updateFromHLSBroadcastStopped,
'call.live_started': (e) => this.updateFromCallResponse(e.call),
'call.live_ended': (e) => this.updateFromCallResponse(e.call), // Needs to be implemented on backend
// TODO: uncomment this when it is added on the backend side
// 'call.live_ended': (e) => this.updateFromCallResponse(e.call),

Check failure on line 446 in packages/client/src/store/CallState.ts

View workflow job for this annotation

GitHub Actions / test-and-build

Delete `·`
'call.member_added': this.updateFromMemberAdded,
'call.member_removed': this.updateFromMemberRemoved,
'call.member_updated_permission': this.updateMembers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ const UnMemoizedChannelHeader = (props: ChannelHeaderProps) => {
>
<MenuIcon />
</button>
<Avatar
image={displayImage}
name={displayTitle}
/>
<Avatar image={displayImage} name={displayTitle} />
<div className="str-chat__header-livestream-left str-chat__channel-header-end">
<p className="str-chat__header-livestream-left--title str-chat__channel-header-title">
{displayTitle}{' '}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,7 @@ const QuickDialButton = <SCG extends ExtendableGenerics = DefaultGenerics>({
away: !user.online,
})}
>
<Avatar
image={user.image as string}
name={user.name}
user={user}
/>
<Avatar image={user.image as string} name={user.name} user={user} />
</button>
);
};

0 comments on commit d174779

Please sign in to comment.