lbry-desktop/ui
infiinte-persistence 37a1fd88e3 selectChannel: sync auto-resolved value during mounting.
## Issue
Fixes `4621 Can't create Comments if you recently deleted a channel`

The `channel` that the parent passes in is from a persisted state. If the channel has been deleted, `<select>` will automatically resolve to another selectable value. However, `onChange` will not be called for this scenario, so we now have a mismatch.

## Changes
- Manually check if the value has been auto-resolved and report it to the parent.
- An extra `setTimeout` was needed. It seems like `onChannelChange` needs to be called after the first `useEffect` of the parent, otherwise the call has no effect.
2020-08-05 12:59:54 -04:00
..
component selectChannel: sync auto-resolved value during mounting. 2020-08-05 12:59:54 -04:00
constants fix labeling and rename some strings 2020-08-04 11:49:12 -04:00
effects use redux to load post content 2020-08-04 11:49:12 -04:00
modal Additional change per @eatdostacos recommendation 2020-08-03 09:43:27 -04:00
page move ads in ClaimList behind SHOW_ADS config 2020-08-03 16:16:04 -04:00
redux prevent specific settings sync in config 2020-08-04 12:00:20 -04:00
scss add in-app text and markdown publishing 2020-08-04 11:49:12 -04:00
util Revert "add imhere row at top" 2020-08-01 16:55:01 -04:00
analytics.js add comments behind a flag 2020-07-23 11:03:00 -04:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
i18n.js Improve auto string addition to produce better diffs and ease merging. 2020-07-08 15:01:05 -04:00
index.jsx add search code from lbry-redux 2020-07-27 16:37:36 -04:00
logWarningConsoleMessage.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
native.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
reducers.js add search code from lbry-redux 2020-07-27 16:37:36 -04:00
rewards.js Publish => Upload 2020-07-27 10:48:05 -04:00
store.js all settings constants come from redux 2020-07-27 11:53:14 -04:00