Remove the unused joinNames helper from the typing indicator.
This commit is contained in:
1 parent
14f31f57c1
commit
fcbd9b4b66
1 file changed
-3
@@ -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