Improve readdability
This commit is contained in:
		
							parent
							
								
									e542dcac30
								
							
						
					
					
						commit
						3fc04fcdc5
					
				
					 1 changed files with 7 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -187,11 +187,14 @@ export default Vue.component('misskey-flavored-markdown', {
 | 
			
		|||
				}
 | 
			
		||||
 | 
			
		||||
				case 'emoji': {
 | 
			
		||||
					const { emoji, name } = token;
 | 
			
		||||
					const { customEmojis } = this;
 | 
			
		||||
					return [createElement('mk-emoji', {
 | 
			
		||||
						attrs: { emoji, name },
 | 
			
		||||
						props: { customEmojis }
 | 
			
		||||
						attrs: {
 | 
			
		||||
							emoji: token.emoji,
 | 
			
		||||
							name: token.name
 | 
			
		||||
						},
 | 
			
		||||
						props: {
 | 
			
		||||
							customEmojis: this.customEmojis
 | 
			
		||||
						}
 | 
			
		||||
					})];
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue