fix: /dashboards props type
This commit is contained in:
		
							parent
							
								
									7c89a1c6ad
								
							
						
					
					
						commit
						ebe09bd999
					
				|  | @ -14,8 +14,8 @@ import { getDashboardForecastsByDashboardId } from "../web/worker/getDashboardFo | |||
| 
 | ||||
| interface Props { | ||||
|   initialDashboardForecasts: FrontendForecast[]; | ||||
|   initialDashboardId?: string; | ||||
|   initialDashboardItem?: DashboardItem; | ||||
|   initialDashboardId: string | null; | ||||
|   initialDashboardItem: DashboardItem | null; | ||||
|   platformsConfig: PlatformConfig[]; | ||||
| } | ||||
| 
 | ||||
|  | @ -33,8 +33,8 @@ export const getServerSideProps: GetServerSideProps<Props> = async ( | |||
|       props: { | ||||
|         platformsConfig, | ||||
|         initialDashboardForecasts: [], | ||||
|         initialDashboardId: undefined, | ||||
|         initialDashboardItem: undefined, | ||||
|         initialDashboardId: null, | ||||
|         initialDashboardItem: null, | ||||
|       }, | ||||
|     }; | ||||
|   } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user