637f47cac7
* Add cart view switcher * Attribute based switched POC * Tidy up view handling * Mini cart * Not sure who clint is. Typo - rename to clientId * Avoid string casting in TS * Add margin to title * Set custom source to prevent currentView saving to post content. Note this also removes `save` which does not exist in Gutenberg. * Remove higher order component from withViewSwitcher * Import view switcher in main file * Add to side effects * Move view switcher import Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com> |
||
---|---|---|
.. | ||
edit | ||
attributes.js | ||
block.tsx | ||
constants.js | ||
frontend.js | ||
index.js | ||
save.js |