remove '!'

This commit is contained in:
Chika 2020-09-29 12:29:49 +03:00
parent 81065b2607
commit c16e2192b8

View File

@ -18,7 +18,7 @@ const actions: TAction = {
openNotification({ openNotification({
type: 'error', type: 'error',
title: 'Ошибка во время создания интереса', title: 'Ошибка во время создания интереса',
description: 'Не указан контакт клиента!', description: 'Не указан контакт клиента',
})(); })();
} }
if (!newClient && !account) { if (!newClient && !account) {
@ -27,7 +27,7 @@ const actions: TAction = {
openNotification({ openNotification({
type: 'error', type: 'error',
title: 'Ошибка во время создания интереса', title: 'Ошибка во время создания интереса',
description: 'Не указан клиент!', description: 'Не указан клиент',
})(); })();
} }
if (!commentLead) { if (!commentLead) {
@ -35,7 +35,7 @@ const actions: TAction = {
openNotification({ openNotification({
type: 'error', type: 'error',
title: 'Ошибка во время создания интереса', title: 'Ошибка во время создания интереса',
description: 'Не указан комментарий к интересу!', description: 'Не указан комментарий к интересу',
})(); })();
} }
if (contact && !phoneNumber) { if (contact && !phoneNumber) {