Skip to content

Commit

Permalink
hide wiki link for fake armor nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisc64 committed Mar 9, 2024
1 parent 74b8307 commit 611017b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions elden-ring-poise-optimizer/src/components/ArmorReadout.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useState } from 'react';
import { ARMOR_NOTHING } from '../constants';
import { getWikiLink } from '../utilities';

import './ArmorReadout.css';
Expand Down Expand Up @@ -45,9 +46,11 @@ const ArmorReadout = ({ armor, defaultExpanded }) => {
<p>Focus: {armor.focus}</p>
<p>Vitality: {armor.vitality}</p>
</div>
<a className="wikiLink" href={getWikiLink(armor)}>
wiki
</a>
{armor.name !== ARMOR_NOTHING.name ? (
<a className="wikiLink" href={getWikiLink(armor)}>
wiki
</a>
) : null}
</div>
) : null}
</article>
Expand Down

0 comments on commit 611017b

Please sign in to comment.