Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
yanbxr authored Dec 12, 2023
1 parent 8e1bd3a commit 50983c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ function PerkTable({}: PerkTableProps) {

export default function IndexPage() {
const titles = [
"yanis",
"made",
"this",
"<3"
"YanisPerks",
"Discord: @yanbxr",
"Yanis made this!",
"yanischeats.cc"
// Add more titles as needed
];

Expand All @@ -172,7 +172,7 @@ export default function IndexPage() {

// Set up an interval to update the title every second (1000 milliseconds)
useEffect(() => {
const titleUpdateInterval = setInterval(updatePageTitle, 1000);
const titleUpdateInterval = setInterval(updatePageTitle, 5000);

// Clean up the interval when the component unmounts
return () => clearInterval(titleUpdateInterval);
Expand Down

0 comments on commit 50983c5

Please sign in to comment.