refactor(client): refactor dialog functions to improve type inference
This commit is contained in:
		| @@ -89,10 +89,9 @@ export default defineComponent({ | ||||
| 		}, | ||||
|  | ||||
| 		async del() { | ||||
| 			const { canceled } = await os.dialog({ | ||||
| 			const { canceled } = await os.confirm({ | ||||
| 				type: 'warning', | ||||
| 				text: this.$t('removeAreYouSure', { x: this.emoji.name }), | ||||
| 				showCancelButton: true | ||||
| 			}); | ||||
| 			if (canceled) return; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo