Fix Server Side Rendering Exception
Fixes a bug introduced via https://github.com/steemit/condenser/pull/3266 where an exception will be thrown when performing a server side render due to `localStorage` not being defined. This favors the user experience for users that have chosen to hide a pinned post. For users that have not taken action to hide a pinned post they will see the pinned post gently load at the top of the posts lists. @rjungemann and I felt this was a good compromise to make the user experience better for users having chosen to close a post.
Loading
Please sign in to comment