mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
fix: use replace in new page redirect
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
1df6eb7bf5
commit
8e65f74a07
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export const NewNotePage: NextPage = () => {
|
|||
/>
|
||||
}>
|
||||
<ShowIf condition={!!value}>
|
||||
<Redirect to={`/n/${(value as Note).metadata.primaryAddress}`} />
|
||||
<Redirect to={`/n/${(value as Note).metadata.primaryAddress}`} replace={true} />
|
||||
</ShowIf>
|
||||
</CustomAsyncLoadingBoundary>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue