Skip to content

Commit

Permalink
Added title change to the app page
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrIvan committed Feb 17, 2024
1 parent 187a92c commit 99c04ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default function App() {
const [isMobile, setIsMobile] = useState(false);

useEffect(() => {
document.title = "ChordSeqAI"; // Change the title when the page loads
const userAgent = navigator.userAgent;
const selectors = getSelectorsByUserAgent(userAgent);
setIsMobile(selectors.isMobile);
Expand Down

0 comments on commit 99c04ac

Please sign in to comment.