forked from Archives/Athou_commafeed
no need to re-render the custom js handler on route change
This commit is contained in:
@@ -221,8 +221,9 @@ export function App() {
|
|||||||
<UnreadCountTitleHandler unreadCount={unreadCount} enabled={unreadCountTitle} />
|
<UnreadCountTitleHandler unreadCount={unreadCount} enabled={unreadCountTitle} />
|
||||||
<UnreadCountFaviconHandler unreadCount={unreadCount} enabled={unreadCountFavicon} />
|
<UnreadCountFaviconHandler unreadCount={unreadCount} enabled={unreadCountFavicon} />
|
||||||
<BrowserExtensionBadgeUnreadCountHandler />
|
<BrowserExtensionBadgeUnreadCountHandler />
|
||||||
|
<CustomJsHandler />
|
||||||
<CustomCssHandler />
|
<CustomCssHandler />
|
||||||
|
|
||||||
{/* disable pull-to-refresh as it messes with vertical scrolling
|
{/* disable pull-to-refresh as it messes with vertical scrolling
|
||||||
safari behaves weirdly when overscroll-behavior is set to none so we disable it only for other browsers
|
safari behaves weirdly when overscroll-behavior is set to none so we disable it only for other browsers
|
||||||
https://github.com/Athou/commafeed/issues/1168
|
https://github.com/Athou/commafeed/issues/1168
|
||||||
@@ -232,7 +233,6 @@ export function App() {
|
|||||||
<HashRouter>
|
<HashRouter>
|
||||||
<GoogleAnalyticsHandler />
|
<GoogleAnalyticsHandler />
|
||||||
<RedirectHandler />
|
<RedirectHandler />
|
||||||
<CustomJsHandler />
|
|
||||||
<AppRoutes />
|
<AppRoutes />
|
||||||
</HashRouter>
|
</HashRouter>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user