client-reactnative/src/components/RoomList/LeftAndRightDragAction.tsx
Function LeftActions
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const LeftActions = (props: LeftActionsProps) => {
const {toggleNotification, swipeRef, name, jid, renameChat} = props;
const {chatStore} = useStores();
return (
<>
- Create a ticketCreate a ticket
Function RightActions
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const RightActions = (props: RightActionsProps) => {
const {jid, leaveChat, swipeRef} = props;
const jidWithoutConference = jid?.split('@')[0];
const isDefaultChat = checkIsDefaultChat(jidWithoutConference);
const {loginStore} = useStores();
- Create a ticketCreate a ticket