Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Feb 5, 2025
1 parent 8d0f909 commit b360291
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/hooks/useNavItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function useNavItems(): ReturnType {
text: 'Top validators',
nextRoute: { pathname: '/validators' as const },
icon: 'validator',
isActive: pathname === '/validators',
isActive: pathname === '/validators' || pathname === '/validators/[id]',
} : null;
const rollupDeposits = {
text: `Deposits (L1${ rightLineArrow }L2)`,
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/ValidatorZilliqa.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ValidatorZilliqa = () => {
const isLoading = query.isPlaceholderData;

const backLink = React.useMemo(() => {
const hasGoBackLink = appProps.referrer && appProps.referrer.includes('/validators');
const hasGoBackLink = appProps.referrer && appProps.referrer.endsWith('/validators');

if (!hasGoBackLink) {
return;
Expand Down
2 changes: 1 addition & 1 deletion ui/validators/zilliqa/ValidatorDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const ValidatorDetails = ({ data, isLoading }: Props) => {
</DetailsInfoItem.Value>

<DetailsInfoItem.Label
hint="The address whose key with which validators sign cross-chain events"
hint="The address whose key the validator uses to sign cross-chain events"
isLoading={ isLoading }
>
Signing address
Expand Down

0 comments on commit b360291

Please sign in to comment.