Don't preload timelines as props, load them when timeline component is mounted
This prevents the bug where if you go "back" to the UI after navigating to another page it loads with the old set of statuses
Showing
- app/assets/javascripts/components/containers/mastodon.jsx 0 additions, 6 deletionsapp/assets/javascripts/components/containers/mastodon.jsx
- app/assets/javascripts/components/features/home_timeline/index.jsx 11 additions, 1 deletion...s/javascripts/components/features/home_timeline/index.jsx
- app/assets/javascripts/components/features/mentions_timeline/index.jsx 11 additions, 1 deletion...vascripts/components/features/mentions_timeline/index.jsx
- app/assets/javascripts/components/features/public_timeline/index.jsx 4 additions, 0 deletions...javascripts/components/features/public_timeline/index.jsx
- app/helpers/home_helper.rb 1 addition, 7 deletionsapp/helpers/home_helper.rb
Loading
Please register or sign in to comment