fix don't spam model hub when model list is not defined

This commit is contained in:
Ishaan Jaff 2024-07-06 10:39:16 -07:00
parent 5d0bb0b9ae
commit 19baac7a36

View file

@ -774,7 +774,6 @@ export const modelHubCall = async (accessToken: String) => {
if (!response.ok) {
const errorData = await response.text();
message.error(errorData, 10);
throw new Error("Network response was not ok");
}