mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-13 15:29:16 +01:00
fix: navigate link now always returns to all articles beacuse history can be empty
This commit is contained in:
parent
b9632410d2
commit
80c31d70f4
@ -24,7 +24,7 @@ export const PostHeader: FunctionComponent<Props> = ({ author }) => {
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span className="hideInPrintView">
|
<span className="hideInPrintView">
|
||||||
<a onClick={() => navigate(-1)} style={{ lineHeight: "50px", marginRight: "10px" }}>
|
<a onClick={() => navigate("/")} style={{ lineHeight: "50px", marginRight: "10px" }}>
|
||||||
↩ Back to articles
|
↩ Back to articles
|
||||||
</a>
|
</a>
|
||||||
<ThemeSwitcher showLabel={false} />
|
<ThemeSwitcher showLabel={false} />
|
||||||
|
Loading…
Reference in New Issue
Block a user