Skip to content

Commit

Permalink
Don't show shopkeeper during tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Jan 7, 2025
1 parent b540358 commit c8b50cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/harbor/shop/shop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useState, useEffect } from 'react'
import { getShop, ShopItem } from './shop-utils'
import useLocalStorageState from '../../../../lib/useLocalStorageState.js'
import { HsSession } from '@/app/utils/auth.js'
import JaggedCardSmall from '@/components/jagged-card-small'

import { ShopItemComponent } from './shop-item-component.js'
import { ShopkeeperComponent } from './shopkeeper.js'
Expand Down Expand Up @@ -88,7 +87,9 @@ export default function Shop({ session }: { session: HsSession }) {
<Progress val={favouriteItems} items={shopItems} />
<br />
</div>
<ShopkeeperComponent balance={personTicketBalance} cursed={cursed} />
{!isTutorial && (
<ShopkeeperComponent balance={personTicketBalance} cursed={cursed} />
)}
<div className="text-center mb-6 mt-12" id="region-select">
<label>pick a region to buy something!</label>
<select
Expand Down

0 comments on commit c8b50cb

Please sign in to comment.