chore: success toast show twice after deleting

This commit is contained in:
jialin
2024-12-25 11:36:02 +08:00
parent e74cda3c0f
commit dcad5f4b5f
5 changed files with 3 additions and 7 deletions
@@ -234,9 +234,6 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
modelSource={modelSource}
></SearchInput>
<div className="gguf-tips">
<span className="m-r-5">
{intl.formatMessage({ id: 'common.tips.title' })}
</span>
<span>
{intl.formatMessage({ id: 'models.form.search.gguftips' })}
</span>
@@ -337,7 +337,6 @@ const Models: React.FC<ModelsProps> = ({
replicas: 0
}
});
message.success(intl.formatMessage({ id: 'common.message.success' }));
} catch (error) {
// ingore
}