From 04a83e61d48fcf71e4c1fb0e494711977d1e78c4 Mon Sep 17 00:00:00 2001 From: pavlovicnemanja Date: Fri, 22 Sep 2023 17:14:39 +0200 Subject: [PATCH] fix(state): Removed unused state items --- .../TargetedPublishing/AddWebsite.jsx | 35 ------------------- 1 file changed, 35 deletions(-) diff --git a/client/components/TargetedPublishing/AddWebsite.jsx b/client/components/TargetedPublishing/AddWebsite.jsx index cb34eec..00d066d 100644 --- a/client/components/TargetedPublishing/AddWebsite.jsx +++ b/client/components/TargetedPublishing/AddWebsite.jsx @@ -20,41 +20,6 @@ class AddWebsite extends React.Component { } getSites = () => { - this.setState({ - sites: [ - { - "id": 1, - "subdomain": "sp-publisher", - "domain_name": "superdesk.pro", - "name": "sp", - "code": "zkuiqy", - "organization": { - "id": 1, - "name": "sp", - "code": "geuiay" - }, - "created_at": "2022-07-18T11:01:15+00:00", - "updated_at": "2023-09-13T11:21:25+00:00", - "enabled": true, - "theme_name": "swp/default-theme", - "amp_enabled": true, - "output_channel": null, - "apple_news_config": null, - "pwa_config": { - "url": "https://sp-pwa.superdesk.pro" - }, - "articles_count": 168, - "_links": { - "self": { - "href": "/api/v2/tenants/zkuiqy" - } - }, - "default_language": "", - "fbia_enabled": false, - "paywall_enabled": false - } - ] - }); return axios .get(this.props.apiUrl + "tenants/?limit=9999", { headers: this.props.apiHeader,