chore(client): fix type
This commit is contained in:
		
							parent
							
								
									311478e725
								
							
						
					
					
						commit
						4329d9e76d
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -18,7 +18,7 @@ const props = defineProps<{ | |||
| 	instance: misskey.entities.Instance; | ||||
| }>(); | ||||
| 
 | ||||
| let chartValues = $ref<number | null>(null); | ||||
| let chartValues = $ref<number[] | null>(null); | ||||
| 
 | ||||
| os.apiGet('charts/instance', { host: props.instance.host, limit: 16 + 1, span: 'day' }).then(res => { | ||||
| 	// 今日のぶんの値はまだ途中の値であり、それも含めると大抵の場合前日よりも下降しているようなグラフになってしまうため今日は弾く | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ const props = defineProps<{ | |||
| 	user: misskey.entities.User; | ||||
| }>(); | ||||
| 
 | ||||
| let chartValues = $ref<number | null>(null); | ||||
| let chartValues = $ref<number[] | null>(null); | ||||
| 
 | ||||
| os.apiGet('charts/user/notes', { userId: props.user.id, limit: 16 + 1, span: 'day' }).then(res => { | ||||
| 	// 今日のぶんの値はまだ途中の値であり、それも含めると大抵の場合前日よりも下降しているようなグラフになってしまうため今日は弾く | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue