Skip to content

Commit

Permalink
feat: display delegation details by default
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Mar 22, 2024
1 parent d177cee commit 7f55330
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/features/staking/components/main-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ValidatorsTable from "./validators-table";

function StakingPage() {
const { staking } = useStaking();
const [isShowingDetails, setIsShowingDetails] = useState(false);
const [isShowingDetails, setIsShowingDetails] = useState(true);

const canShowDetail = getCanShowDetails(staking.state);

Expand Down
2 changes: 1 addition & 1 deletion src/features/staking/components/validator-delegation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function ValidatorDelegation() {
const address = searchParams.get("address");
const stakingRef = useStaking();
const [, setShowAbstraxion] = useModal();
const [isShowingDetails, setIsShowingDetails] = useState(false);
const [isShowingDetails, setIsShowingDetails] = useState(true);

const { isConnected, staking } = stakingRef;

Expand Down

0 comments on commit 7f55330

Please sign in to comment.