Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mprocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ procs:
shell: pnpm run dev
anvil:
cwd: packages/contracts
shell: anvil --base-fee 50 --block-time 2
shell: anvil --base-fee 50 --block-time 1
21 changes: 4 additions & 17 deletions packages/client/src/components/AuctionRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ import {
Avatar,
Box,
Button,
Center,
Flex,
HStack,
Text,
VStack,
} from '@chakra-ui/react';
import { FaHatWizard } from 'react-icons/fa';
import { GiAxeSword, GiRogue } from 'react-icons/gi';
import { IoIosArrowForward } from 'react-icons/io';
import { useNavigate } from 'react-router-dom';

import { ITEM_PATH } from '../Routes';
import { type ArmorTemplate, type WeaponTemplate } from '../utils/types';
export const AuctionRow = ({
name,
agiModifier,
Expand All @@ -24,20 +22,9 @@ export const AuctionRow = ({
emoji,
tokenId,
floor,
itemClass,
}: {
name: string;
image: string;
description: string;
agiModifier: string;
hitPointModifier: string;
intModifier: string;
minLevel: string;
strModifier: string;
}: (ArmorTemplate | WeaponTemplate) & {
emoji: string;
tokenId: string;
floor: string;
itemClass: string;
}): JSX.Element => {
const navigate = useNavigate();

Expand Down Expand Up @@ -82,7 +69,7 @@ export const AuctionRow = ({
</Flex>
<HStack>
<HStack w={{ base: '130px', sm: '215px', md: '300px', lg: '450px' }}>
<Text
{/* <Text
fontWeight={500}
size={{ base: 'xs', lg: 'md' }}
textAlign="center"
Expand All @@ -93,7 +80,7 @@ export const AuctionRow = ({
{itemClass == '1' && <GiRogue size={15} />}
{itemClass == '2' && <FaHatWizard size={15} />}
</Center>
</Text>
</Text> */}
<Text
fontWeight={500}
size={{ base: 'xs', lg: 'md' }}
Expand Down
2 changes: 2 additions & 0 deletions packages/client/src/contexts/ItemsContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export const ItemsProvider = ({
armorModifier: decodedArmorStats.armorModifier,
hitPointModifier: decodedArmorStats.hitPointModifier,
intModifier: decodedArmorStats.intModifier,
itemType: itemTemplate.itemType,
minLevel: decodedArmorStats.minLevel,
statRestrictions: {
minAgility: decodedArmorStats.statRestrictions.minAgility,
Expand Down Expand Up @@ -135,6 +136,7 @@ export const ItemsProvider = ({
agiModifier: decodedArmorStats.agiModifier,
hitPointModifier: decodedArmorStats.hitPointModifier,
intModifier: decodedArmorStats.intModifier,
itemType: itemTemplate.itemType,
maxDamage: decodedArmorStats.maxDamage,
minDamage: decodedArmorStats.minDamage,
minLevel: decodedArmorStats.minLevel,
Expand Down
Loading