From 152f91ff0992c5d8b666141b08809293d29c34b3 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Tue, 5 Dec 2017 06:24:22 -0600 Subject: [PATCH] require props in call to super() per react v16.0.25 --- src/FilterLists.Web/ClientApp/components/Home.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 8b2152995..3e4926f86 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -17,8 +17,8 @@ interface IFilterListsState { } export class Home extends React.Component, IFilterListsState> { - constructor() { - super(); + constructor(props: any) { + super(props); this.state = { filterLists: [], loading: true }; fetch("https://api.filterlists.com/v1/lists") .then(response => response.json() as Promise)