fix: error message

This commit is contained in:
Timothy J. Baek 2024-02-24 18:47:04 -08:00
parent 4bbcb58706
commit 7aae0cab8d

View file

@ -29,6 +29,7 @@
API_BASE_URL = await updateOllamaAPIUrl(localStorage.token, API_BASE_URL); API_BASE_URL = await updateOllamaAPIUrl(localStorage.token, API_BASE_URL);
const ollamaVersion = await getOllamaVersion(localStorage.token).catch((error) => { const ollamaVersion = await getOllamaVersion(localStorage.token).catch((error) => {
toast.error(error);
return null; return null;
}); });