chore: success toast show twice after deleting
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user