mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-11-04 02:29:46 +01:00 
			
		
		
		
	fix: navigate link now always returns to all articles beacuse history can be empty
This commit is contained in:
		@@ -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} />
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user