Skip to content

fix: update copyright year to use current year dynamically - #704

Merged
junhoyeo merged 2 commits into
junhoyeo:mainfrom
wilsonwu:patch-1
Jun 17, 2026
Merged

fix: update copyright year to use current year dynamically#704
junhoyeo merged 2 commits into
junhoyeo:mainfrom
wilsonwu:patch-1

Conversation

@wilsonwu

@wilsonwu wilsonwu commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary by cubic

Use the current year in the footer so it stays up to date automatically.
The Footer now sets a currentYear state (default 2026) and updates it on mount with new Date().getFullYear(), replacing the hardcoded year in the copyright text.

Written for commit c6f548d. Summary will update on new commits.

Review in cubic

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tokscale Ready Ready Preview, Comment Jun 10, 2026 8:03am

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread packages/frontend/src/components/layout/Footer.tsx Outdated
Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>
@junhoyeo
junhoyeo merged commit f1b440f into junhoyeo:main Jun 17, 2026
4 checks passed
pinion05 added a commit to pinion05/tokscale that referenced this pull request Jun 23, 2026
)

* fix: update copyright year to use current year dynamically

* fix(footer): dynamically update copyright year in footer

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

---------

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>
t1000040 pushed a commit to tmobi-internal/tokscale that referenced this pull request Jun 30, 2026
)

* fix: update copyright year to use current year dynamically

* fix(footer): dynamically update copyright year in footer

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>

---------

Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants