We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1453a9 commit 3297d84Copy full SHA for 3297d84
website/src/hooks/useDocumentTitle.ts
@@ -1,5 +1,8 @@
1
import { useEffect } from 'react';
2
3
+/**
4
+ * Update the document title dynamically based on hash and title
5
+ */
6
export const useDocumentTitle = (title: string) => {
7
useEffect(() => {
8
const handlePopstate = () => {
0 commit comments