Skip to content

Commit

Permalink
chore: always update page title without requesting animationframe
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Oct 29, 2024
1 parent 2f50fdf commit 65da87d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/app/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ export const Route = createRootRouteWithContext<RouterContext>()({
return (
<>
<OfflineNotification />
<Helmet titleTemplate="%s — InNoHassle" defaultTitle="InNoHassle">
<Helmet
titleTemplate="%s — InNoHassle"
defaultTitle="InNoHassle"
// Update immediately, even when tab is not focused
defer={false}
>
<link rel="canonical" href={canonical} />
</Helmet>

Expand Down

0 comments on commit 65da87d

Please sign in to comment.