diff --git a/apps/govern/components/Contracts/EditVotes/index.spec.tsx b/apps/govern/components/Contracts/EditVotes/index.spec.tsx index 10e46f26..363a102c 100644 --- a/apps/govern/components/Contracts/EditVotes/index.spec.tsx +++ b/apps/govern/components/Contracts/EditVotes/index.spec.tsx @@ -88,9 +88,10 @@ describe('', () => { expect(screen.getByText('My voting weight')).toBeInTheDocument(); expect( - screen.getByText(/Updated voting weights will take effect at the start of/), + screen.getByText( + /Updated voting weights will take effect at the start of next week \(according to Unix time\)./, + ), ).toBeInTheDocument(); - expect(screen.getByText(/next Unix time week./)).toBeInTheDocument(); }); describe('Voting contract row', () => { diff --git a/apps/govern/components/Contracts/EditVotes/index.tsx b/apps/govern/components/Contracts/EditVotes/index.tsx index 2789bcb2..f04a278b 100644 --- a/apps/govern/components/Contracts/EditVotes/index.tsx +++ b/apps/govern/components/Contracts/EditVotes/index.tsx @@ -13,7 +13,6 @@ import { RETAINER_ADDRESS } from 'common-util/constants/addresses'; import { INVALIDATE_AFTER_UPDATE_KEYS } from 'common-util/constants/scopeKeys'; import { getBytes32FromAddress } from 'common-util/functions/addresses'; import { voteForNomineeWeights } from 'common-util/functions/requests'; -import { NextWeekTooltip } from 'components/NextWeekTooltip'; import { queryClient } from 'context/Web3ModalProvider'; import { clearState } from 'store/govern'; import { useAppDispatch, useAppSelector } from 'store/index'; @@ -219,8 +218,7 @@ export const EditVotes = ({ allocations, setAllocations, setIsUpdating }: EditVo /> - Updated voting weights will take effect at the start of  - next Unix time week. + Updated voting weights will take effect at the start of next week (according to Unix time).