refactor: move bookmarks entry location
This commit is contained in:
parent
a847c4dc56
commit
5c2a016d4b
13 changed files with 95 additions and 69 deletions
16
src/pages/secondary/BookmarkPage/index.tsx
Normal file
16
src/pages/secondary/BookmarkPage/index.tsx
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue