Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
use Date for age
Browse files Browse the repository at this point in the history
  • Loading branch information
scffs committed Mar 23, 2024
1 parent 49ac1c6 commit c81e8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Profile/ProfileInfo/data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import LinkWithImage from './LinkWithImage.tsx'
export const userInfoItems = [
{
label: 'Возраст',
value: '18'
value: new Date().getFullYear() - 2005
},
{
label: 'Город',
Expand Down

0 comments on commit c81e8c0

Please sign in to comment.