Don't show error when everything was OK

This commit is contained in:
Vincent 2023-05-25 11:57:13 +02:00 коммит произвёл Vincent
Родитель 326a24c225
Коммит db96d0aeb5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -94,7 +94,7 @@ async function updateBreachStatus (input) {
})
})
if (res.ok) {
if (!res.ok) {
throw new ClientError('We couldnt search for the latest breaches. Please refresh or try again later.', {
action: ErrorActionTypes.Toast
})