mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-25 19:58:02 +00:00
Update token symbol from PZKW/PZK to HEZ across all components
Changed all references to the project token from PZKW/PZK to HEZ: - DelegationManager.tsx: Updated token symbol in comments, delegate cards, and user delegations - DelegateProfile.tsx: Updated min/max delegation placeholders and display - ProposalWizard.tsx: Updated budget input placeholder and review display - TreasuryOverview.tsx: Updated treasury balance display - TransactionModal.tsx: Updated send transaction title, description, and amount label - WalletButton.tsx: Updated balance display in button and dropdown All components now consistently use HEZ as the token symbol.
This commit is contained in:
@@ -94,11 +94,11 @@ export const TransactionModal: React.FC<TransactionModalProps> = ({
|
||||
<DialogHeader>
|
||||
<DialogTitle className="flex items-center gap-2">
|
||||
<Send className="h-5 w-5 text-kesk" />
|
||||
{type === 'send' ? 'Send PZK' : type === 'vote' ? 'Cast Vote' : 'Delegate Voting Power'}
|
||||
{type === 'send' ? 'Send HEZ' : type === 'vote' ? 'Cast Vote' : 'Delegate Voting Power'}
|
||||
</DialogTitle>
|
||||
<DialogDescription>
|
||||
{type === 'send'
|
||||
? 'Send PZK tokens to another address'
|
||||
{type === 'send'
|
||||
? 'Send HEZ tokens to another address'
|
||||
: type === 'vote'
|
||||
? 'Submit your vote for the proposal'
|
||||
: 'Delegate your voting power to another address'}
|
||||
@@ -120,7 +120,7 @@ export const TransactionModal: React.FC<TransactionModalProps> = ({
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<Label htmlFor="amount">Amount (PZK)</Label>
|
||||
<Label htmlFor="amount">Amount (HEZ)</Label>
|
||||
<Input
|
||||
id="amount"
|
||||
type="number"
|
||||
|
||||
@@ -55,7 +55,7 @@ export const WalletButton: React.FC = () => {
|
||||
<Wallet className="h-4 w-4 text-kesk" />
|
||||
<div className="text-left">
|
||||
<div className="text-sm font-medium">{formatAddress(address!)}</div>
|
||||
<div className="text-xs text-muted-foreground">{formatBalance(balance)} PZK</div>
|
||||
<div className="text-xs text-muted-foreground">{formatBalance(balance)} HEZ</div>
|
||||
</div>
|
||||
{!isCorrectNetwork && (
|
||||
<Badge variant="destructive" className="ml-2 bg-sor">
|
||||
@@ -74,7 +74,7 @@ export const WalletButton: React.FC = () => {
|
||||
</div>
|
||||
<div className="px-2 py-1.5">
|
||||
<div className="text-sm text-muted-foreground">Balance</div>
|
||||
<div className="text-sm font-medium">{formatBalance(balance)} PZK</div>
|
||||
<div className="text-sm font-medium">{formatBalance(balance)} HEZ</div>
|
||||
</div>
|
||||
<div className="px-2 py-1.5">
|
||||
<div className="text-sm text-muted-foreground">Network</div>
|
||||
|
||||
Reference in New Issue
Block a user