mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 08:43:50 +02:00
replace ElMessage with Sonner
This commit is contained in:
@@ -125,8 +125,8 @@
|
||||
<script setup>
|
||||
import { ArrowDown, Close, Loading } from '@element-plus/icons-vue';
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import { ElMessage } from 'element-plus';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { toast } from 'vue-sonner';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { removeFromArray, userImage, userImageFull } from '../../../shared/utils';
|
||||
@@ -242,10 +242,7 @@
|
||||
})
|
||||
.then((args) => {
|
||||
if (message) {
|
||||
ElMessage({
|
||||
message: 'Friend added to favorites',
|
||||
type: 'success'
|
||||
});
|
||||
toast.success('Friend added to favorites');
|
||||
}
|
||||
return args;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user