NTP-14729| toast time change

This commit is contained in:
aishwarya.srivastava
2024-12-24 21:16:14 +05:30
parent 94438f4020
commit 0dff110dcd
2 changed files with 2 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ export const makeACallToCustomer =
toast({
type: 'error',
text1: response?.data?.message,
visibilityTime: 5000
});
return;
}

View File

@@ -1,6 +1,7 @@
import { CommunicationChannel } from './Constants';
export const getCommunicationChannelType = (channel: string) => {
if (!channel) return [];
if (channel === CommunicationChannel.Both) {
return [CommunicationChannel.Sms, CommunicationChannel.Whatsapp];
}