* perf: remove isChromatic on real build
* revert: Revert #10475 in MkTime
This reverts commit 7d11cf8ec9.
* @rollup/plugin-replace as dependencies
* fix pnpm-lock,yaml
---------
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
			
			
This commit is contained in:
		 Acid Chicken (硫酸鶏)
					Acid Chicken (硫酸鶏)
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							55c10d0d88
						
					
				
				
					commit
					47c7b4b9cc
				
			| @@ -8,6 +8,7 @@ | ||||
| </template> | ||||
|  | ||||
| <script lang="ts" setup> | ||||
| import isChromatic from 'chromatic/isChromatic'; | ||||
| import { onUnmounted } from 'vue'; | ||||
| import { i18n } from '@/i18n'; | ||||
| import { dateTimeFormat } from '@/scripts/intl-const'; | ||||
| @@ -17,7 +18,7 @@ const props = withDefaults(defineProps<{ | ||||
| 	origin?: Date | null; | ||||
| 	mode?: 'relative' | 'absolute' | 'detail'; | ||||
| }>(), { | ||||
| 	origin: null, | ||||
| 	origin: isChromatic() ? new Date('2023-04-01T00:00:00Z') : null, | ||||
| 	mode: 'relative', | ||||
| }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user