diff --git a/src/FilterLists.Web.V2/package-lock.json b/src/FilterLists.Web.V2/package-lock.json index 15449eb4e..c6c1284cc 100644 Binary files a/src/FilterLists.Web.V2/package-lock.json and b/src/FilterLists.Web.V2/package-lock.json differ diff --git a/src/FilterLists.Web.V2/package.json b/src/FilterLists.Web.V2/package.json index 8c6e4ee0b..9554ac1bc 100644 --- a/src/FilterLists.Web.V2/package.json +++ b/src/FilterLists.Web.V2/package.json @@ -38,4 +38,4 @@ "last 1 safari version" ] } -} \ No newline at end of file +} diff --git a/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx b/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx index 2f36701e0..cb14efdbe 100644 --- a/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx +++ b/src/FilterLists.Web.V2/src/modules/allListsTable/AllListsTable.tsx @@ -4,32 +4,29 @@ import { nameof } from '../../utils'; import { List } from './List'; interface State { - data: List[]; - loading: boolean; + data: List[]; } export class AllListsTable extends React.Component<{}, State> { - constructor(props: any) { - super(props); - this.state = { - data: [], - loading: false, - }; - } + constructor(props: any) { + super(props); + this.state = { + data: [] + }; + } - componentDidMount() { - this.setState({ loading: true }); - fetch("/api/v1/lists") - .then(response => response.json()) - .then(json => { this.setState({ data: json, loading: false }); }) - } + componentDidMount() { + fetch("/api/v1/lists") + .then(response => response.json()) + .then(json => { this.setState({ data: json }); }) + } - render() { - return ( -