You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to get rid of some more of the ugliness that is my-sites/themes/main.jsx, we'll need to refactor theme-options. In main.jsx, we're now passing props selectedAction (a string), actions, and getOptions to ThemesSiteSelectorModal. Ideally, I think it should be just a selectedAction function -- something that is currently computed inside ThemesSiteSelectorModal. Urgh.
In order to get rid of some more of the ugliness that is
my-sites/themes/main.jsx
, we'll need to refactortheme-options
. Inmain.jsx
, we're now passing propsselectedAction
(a string),actions
, andgetOptions
toThemesSiteSelectorModal
. Ideally, I think it should be just aselectedAction
function -- something that is currently computed insideThemesSiteSelectorModal
. Urgh.(From #840 (comment))
The text was updated successfully, but these errors were encountered: