mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 23:54:42 -04:00
fix: revert next 13 update
The update causes problems with the emoji picker in the production build Revert "fix: Fix sign-in-button cypress tests" Revert "chore(deps): update nextjs monorepo to v13" Revert "fix: Remove anchor hack from internal-link" Revert "fix: Remove a tag childs from NextJS link components" This reverts commitf2ae04743a
. This reverts commita7fd14a3
This reverts commit6d30448157
. This reverts commit7f7f020d91
. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
2203defbc6
commit
b67df0eadf
11 changed files with 140 additions and 132 deletions
|
@ -19,14 +19,16 @@ export const ReadOnlyModeButton: React.FC = () => {
|
|||
const noteIdentifier = useApplicationState((state) => state.noteDetails.primaryAddress)
|
||||
|
||||
return (
|
||||
<Link href={`/s/${noteIdentifier}`} target='_blank'>
|
||||
<Button
|
||||
title={t('editor.documentBar.readOnlyMode')}
|
||||
className='ms-2 text-secondary'
|
||||
size='sm'
|
||||
variant='outline-light'>
|
||||
<ForkAwesomeIcon icon='file-text-o' />
|
||||
</Button>
|
||||
<Link href={`/s/${noteIdentifier}`}>
|
||||
<a target='_blank'>
|
||||
<Button
|
||||
title={t('editor.documentBar.readOnlyMode')}
|
||||
className='ms-2 text-secondary'
|
||||
size='sm'
|
||||
variant='outline-light'>
|
||||
<ForkAwesomeIcon icon='file-text-o' />
|
||||
</Button>
|
||||
</a>
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue