import React from 'react'; import { useTranslation } from 'react-i18next'; import { useIsGuestUser } from '~/stores/context'; import { BookmarkContents } from './Bookmarks/BookmarkContents'; export const Bookmarks = () : JSX.Element => { const { t } = useTranslation(); const { data: isGuestUser } = useIsGuestUser(); return (

{t('Bookmarks')}

{isGuestUser ? (

{ t('Not available for guest') }

) : ( )}
); };