1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

refactor: 'use client' when appropriate

This commit is contained in:
2023-07-30 18:50:14 +02:00
parent 70603f1444
commit 6d0dcb50a7
11 changed files with 21 additions and 13 deletions

View File

@ -1,7 +1,9 @@
'use client'
import useTranslation from 'next-translate/useTranslation'
import { useMemo } from 'react'
import { BIRTH_DATE, BIRTH_DATE_STRING, getAge } from 'utils/getAge'
import { BIRTH_DATE, BIRTH_DATE_STRING, getAge } from '@/utils/getAge'
import { ProfileItem } from './ProfileItem'