Remove the unused joinNames helper from the typing indicator.
This commit is contained in:
@@ -15,9 +15,6 @@ import { useTypingVerbs } from '../../hooks/useUserTypingVerb';
|
||||
|
||||
const DEFAULT_VERB = 'typing';
|
||||
|
||||
const joinNames = (parts: string[]): string =>
|
||||
parts.length === 1 ? parts[0] : `${parts.slice(0, -1).join(', ')} and ${parts[parts.length - 1]}`;
|
||||
|
||||
export type RoomViewTypingProps = {
|
||||
room: Room;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user