Add prop validations in MkAcct (#7439)
This commit is contained in:
		| @@ -11,7 +11,16 @@ import { toUnicode } from 'punycode/'; | ||||
| import { host } from '@client/config'; | ||||
|  | ||||
| export default defineComponent({ | ||||
| 	props: ['user', 'detail'], | ||||
| 	props: { | ||||
| 		user: { | ||||
| 			type: Object, | ||||
| 			required: true | ||||
| 		}, | ||||
| 		detail: { | ||||
| 			type: Boolean, | ||||
| 			default: false | ||||
| 		}, | ||||
| 	}, | ||||
| 	data() { | ||||
| 		return { | ||||
| 			host: toUnicode(host), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zero King
					Zero King