Skip to content

Instantly share code, notes, and snippets.

@jblz
jblz / .lando.yml
Created March 17, 2020 22:17 — forked from daggerhart/.lando.yml
Example lando
name: aawp
recipe: wordpress
config:
webroot: wordpress_root
php: '7.3'
xdebug: true
config:
php: .lando/php.ini
#database: .lando/mysql.cnf
#server: .lando/apache.conf
diff --git a/client/state/data-layer/wpcom/checklist/index.js b/client/state/data-layer/wpcom/checklist/index.js
index bc37e168ee..4f1dd4a6e9 100644
--- a/client/state/data-layer/wpcom/checklist/index.js
+++ b/client/state/data-layer/wpcom/checklist/index.js
@@ -20,7 +20,10 @@ export const fetchChecklist = action =>
{
path: `/sites/${ action.siteId }/checklist`,
method: 'GET',
- apiVersion: '1.1',
+ apiNamespace: 'rest/v1.1',
diff --git a/client/my-sites/preview/main.jsx b/client/my-sites/preview/main.jsx
index 119f0e53db..5327b2bef8 100644
--- a/client/my-sites/preview/main.jsx
+++ b/client/my-sites/preview/main.jsx
@@ -3,6 +3,7 @@
*/
import { connect } from 'react-redux';
import { localize } from 'i18n-calypso';
+import { throttle } from 'lodash';
import React from 'react';
derp