1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2025-02-03 14:01:50 +02:00

Add missing href replace on book links

This commit is contained in:
Bart 2021-03-22 08:05:46 +01:00
parent 0b9702efc5
commit 4d1f8730ac

View File

@ -38,7 +38,7 @@ export const BookChildTree: React.FC<BookChildTreeProps> = ({
return (
<div css={componentStyles}>
<div>
<Link href={`${base_url}?selected=${blueprint_book.id}&type=book`}>
<Link href={`${base_url}?selected=${blueprint_book.id}&type=book`} replace>
<a className={"book" + (selected_id === blueprint_book.id ? " active" : "")}>
<FactorioIcon type="item" icon="blueprint-book" size={20} />
{blueprint_book.icons &&