Skip to content

chore: add missing date-fns dependency#3

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-typescript-error-date-fns
Draft

chore: add missing date-fns dependency#3
Copilot wants to merge 2 commits intomainfrom
copilot/fix-typescript-error-date-fns

Conversation

Copy link
Contributor

Copilot AI commented Mar 4, 2026

src/pages/Admin/ActivityLog.tsx imports format from date-fns, but the package was never listed in package.json, causing Netlify builds to fail with TS2307: Cannot find module 'date-fns'.

Changes

  • package.json — added date-fns@^4.1.0 to dependencies
  • package-lock.json — updated lockfile to reflect the new dependency

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for decoright failed.

Name Link
🔨 Latest commit d4d11ae
🔍 Latest deploy log https://app.netlify.com/projects/decoright/deploys/69a83ea42600eb000801ee71

Co-authored-by: Anes201 <56917516+Anes201@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix TypeScript error due to missing date-fns module chore: add missing date-fns dependency Mar 4, 2026
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