refactor: move bookmarks entry location

This commit is contained in:
codytseng 2025-10-19 15:46:45 +08:00
parent a847c4dc56
commit 5c2a016d4b
13 changed files with 95 additions and 69 deletions

View file

@ -0,0 +1,16 @@
import BookmarkList from '@/components/BookmarkList'
import SecondaryPageLayout from '@/layouts/SecondaryPageLayout'
import { forwardRef } from 'react'
import { useTranslation } from 'react-i18next'
const BookmarkPage = forwardRef(({ index }: { index?: number }, ref) => {
const { t } = useTranslation()
return (
<SecondaryPageLayout index={index} title={t('Bookmarks')} displayScrollToTopButton ref={ref}>
<BookmarkList />
</SecondaryPageLayout>
)
})
BookmarkPage.displayName = 'BookmarkPage'
export default BookmarkPage