Skip to content

Commit

Permalink
Merge pull request #884 from KrystianSkwierawski/KS_main
Browse files Browse the repository at this point in the history
missing icon
  • Loading branch information
Razzmatazzz authored Mar 15, 2024
2 parents c131f7f + 0f1a306 commit 6d0f624
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/bitcoin-farm-calculator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import StationSkillTraderSetting from '../../components/station-skill-trader-set

import formatPrice from '../../modules/format-price.js';
import { averageWipeLength, currentWipeLength } from '../../modules/wipe-length.js';
import useHideoutData from '../../features/hideout/index.js';

import {
BitcoinItemId,
Expand All @@ -32,6 +33,9 @@ import './index.css';
const BitcoinFarmCalculator = () => {
const { t } = useTranslation();

const { data: hideout } = useHideoutData();
const solar = hideout.find(station => station.normalizedName === 'solar-power');

const [graphicCardsCount, setGraphicCardsCount] = useStateWithLocalStorage(
'num-graphic-cards',
MaxNumGraphicsCards,
Expand Down Expand Up @@ -110,8 +114,9 @@ const BitcoinFarmCalculator = () => {
type="skill"
/>
<StationSkillTraderSetting
stateKey={'solar-power'}
stateKey={solar.normalizedName}
type="station"
image={solar.imageLink}
/>
<ToggleFilter
label={t('Use fuel cost: {{price}}/day', {
Expand Down

0 comments on commit 6d0f624

Please sign in to comment.