diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c7827bf0..6ec355fbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -136,6 +136,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Bug fixes +- [#885](https://github.com/alleslabs/celatone-frontend/pull/885) Fix voted proposals freeze columns - [#881](https://github.com/alleslabs/celatone-frontend/pull/881) Fix abi option boolean problem - [#877](https://github.com/alleslabs/celatone-frontend/pull/877) Fix validator list/details bug bash - [#874](https://github.com/alleslabs/celatone-frontend/pull/874) Fix minor proposal and validator bugs diff --git a/src/lib/pages/proposal-details/components/proposal-overview/status-summary/Countdown.tsx b/src/lib/pages/proposal-details/components/proposal-overview/status-summary/Countdown.tsx index b6805b650..e5013ec7c 100644 --- a/src/lib/pages/proposal-details/components/proposal-overview/status-summary/Countdown.tsx +++ b/src/lib/pages/proposal-details/components/proposal-overview/status-summary/Countdown.tsx @@ -51,8 +51,9 @@ export const Countdown = ({ endTime, isString }: CountdownProps) => { ); - if (diffTime === 0) router.reload(); setTime(timestamp); + + if (diffTime === 0) clearInterval(intervalId); }, 1000); return () => clearInterval(intervalId); }, [endTime, isString, router]); diff --git a/src/lib/pages/validator-details/components/tables/voted-proposals/VotedProposalsRow.tsx b/src/lib/pages/validator-details/components/tables/voted-proposals/VotedProposalsRow.tsx index 2caba5ee3..b7b8c3803 100644 --- a/src/lib/pages/validator-details/components/tables/voted-proposals/VotedProposalsRow.tsx +++ b/src/lib/pages/validator-details/components/tables/voted-proposals/VotedProposalsRow.tsx @@ -43,13 +43,16 @@ export const VotedProposalsTableRow = ({ className="copier-wrapper" templateColumns={templateColumns} onClick={() => onRowSelect(votedProposal.proposalId)} + minW="min-content" + cursor="pointer" _hover={{ "> div": { - bgColor: "gray.900", + bgColor: + votedProposal.isExpedited && isDepositOrVoting + ? "primary.background" + : "gray.900", }, }} - transition="all 0.25s ease-in-out" - cursor="pointer" >