Skip to content

Commit

Permalink
Refactor Media & Text to use functional components (#23102)
Browse files Browse the repository at this point in the history
* Refactor Media & Text edit method to be a functional component

* Refactor Media Container to be a functional component

* Fix image prop select hook dependencies

* cleanup: sort variables alphabetically

* cleanup: use optional chaining

* remove duplicate background styles property

* fix useSelect usage

* Change withDispatch for useDispatch

* Condense argument destructuring
  • Loading branch information
oxyc committed Jun 16, 2020
1 parent c663493 commit 8258f40
Show file tree
Hide file tree
Showing 3 changed files with 290 additions and 371 deletions.
Loading

0 comments on commit 8258f40

Please sign in to comment.