Skip to content

Commit

Permalink
fix build issues; remove airdrop icon from list
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bowman committed Jan 18, 2024
1 parent 67c82b7 commit 3af76b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web-ui/components/Staking/modals/stakingProcessModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const StakingProcessModal: React.FC<StakingModalProps> = ({ isOpen, onClo
useEffect(() => {
// Update the state when selectedValidators changes
setIsCustomValid(selectedValidators.length === 0);
}, [selectedValidators]);
}, [selectedValidators, calculateIntents]);

// Modify the handleWeightChange function
const handleWeightChange = (e: React.ChangeEvent<HTMLInputElement>, validatorName: string) => {
Expand Down
9 changes: 5 additions & 4 deletions web-ui/components/react/sideHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ import { FaDiscord, FaTwitter, FaGithub, FaInfo } from 'react-icons/fa';
import { IoIosDocument } from 'react-icons/io';
import { MdPrivacyTip } from 'react-icons/md';

import { DrawerControlProvider } from '@/state/chains/drawerControlProvider';

import { WalletButton } from '../wallet-button';

import { DrawerControlProvider } from '@/state/chains/drawerControlProvider';

export const SideHeader = () => {
const router = useRouter();
Expand Down Expand Up @@ -130,7 +131,7 @@ export const SideHeader = () => {
QUICKSILVER
</DrawerHeader>
<DrawerBody>
{['Airdrop', 'Assets', 'Defi', 'Governance', 'Staking'].map((item) => (
{[/*'Airdrop'*/, 'Assets', 'Defi', 'Governance', 'Staking'].map((item) => (
<Box key={item} mb={4} position="relative">
<Link
href={`/${item.toLowerCase()}`}
Expand Down Expand Up @@ -288,7 +289,7 @@ export const SideHeader = () => {
/>
</Box>
</Tooltip>
<Tooltip borderLeft="4px solid rgba(255, 128, 0, 0.9)" label="Airdrop" placement="right">
{/*<Tooltip borderLeft="4px solid rgba(255, 128, 0, 0.9)" label="Airdrop" placement="right">
<Box
w="55px"
h="55px"
Expand All @@ -313,7 +314,7 @@ export const SideHeader = () => {
src="/img/airdrop.png"
/>
</Box>
</Tooltip>
</Tooltip>*/}

<Tooltip borderLeft="4px solid rgba(255, 128, 0, 0.9)" label="DeFi" placement="right">
<Box
Expand Down

0 comments on commit 3af76b5

Please sign in to comment.