fix(components): update error boundary
ensure that styling is consistent by surrounding with `a-extract-style`
This commit is contained in:
		
							parent
							
								
									480655a0ee
								
							
						
					
					
						commit
						718fcc6ff8
					
				| @ -18,26 +18,28 @@ ${p.error.stack} | |||||||
| `; | `; | ||||||
| </script> | </script> | ||||||
| <template> | <template> | ||||||
| 	<a-typography-title> We ran into an issue.... :( <br /> </a-typography-title> | 	<a-extract-style> | ||||||
| 	<a-typography-paragraph | 		<a-typography-title> We ran into an issue.... :( <br /></a-typography-title> | ||||||
| 		style="font-size: 125%" | 		<a-typography-paragraph | ||||||
| 		:copyable="{ | 			style="font-size: 125%" | ||||||
| 			text: copied, | 			:copyable="{ | ||||||
| 			tooltip: true, | 				text: copied, | ||||||
| 			onCopy: () => { | 				tooltip: true, | ||||||
| 				setTimeout(() => { | 				onCopy: () => { | ||||||
| 					clearError({ redirect: '/' }); | 					setTimeout(() => { | ||||||
| 					navigateTo('/'); | 						clearError({ redirect: '/' }); | ||||||
| 				}, 30000); | 						navigateTo('/'); | ||||||
| 			}, | 					}, 30000); | ||||||
| 		}" | 				}, | ||||||
| 	> | 			}" | ||||||
| 		<a-typography-text code> | 		> | ||||||
| 			{{ JSON.stringify(unError, null, "\t") }} | 			<a-typography-text code> | ||||||
| 		</a-typography-text> | 				{{ JSON.stringify(unError, null, "\t") }} | ||||||
| 		<a-typography-title :level="4"> Stack trace: </a-typography-title> | 			</a-typography-text> | ||||||
| 		<a-typography-text> | 			<a-typography-title :level="4"> Stack trace:</a-typography-title> | ||||||
| 			<a-typography-text v-html="error.stack"> </a-typography-text> | 			<a-typography-text> | ||||||
| 		</a-typography-text> | 				<a-typography-text v-html="error.stack"></a-typography-text> | ||||||
| 	</a-typography-paragraph> | 			</a-typography-text> | ||||||
|  | 		</a-typography-paragraph> | ||||||
|  | 	</a-extract-style> | ||||||
| </template> | </template> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user