client-reactnative/src/components/Modals/Chat/ChatLongTapUserActions.tsx
Function onDirectMessagePress
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const onDirectMessagePress = async () => {
const otherUserWalletAddress = dataForTransfer?.walletFromJid;
const myWalletAddress = loginStore.initialData.walletAddress;
const combinedWalletAddress = [myWalletAddress, otherUserWalletAddress]
.sort()
- Create a ticketCreate a ticket
Function handleBanUser
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleBanUser = (name: string, senderName: string) => {
const bannedUserWalletAddres = underscoreManipulation(
dataForTransfer?.walletFromJid,
);
const senderWalletAddres = underscoreManipulation(
- Create a ticketCreate a ticket