diff --git a/packages/desktop/components/index.ts b/packages/desktop/components/index.ts index 5872f5f63d..b8e97a515b 100644 --- a/packages/desktop/components/index.ts +++ b/packages/desktop/components/index.ts @@ -2,7 +2,6 @@ export * from './drawers' export * from './filter' export * from './menus' export * from './modals' -export * from './panes' export * from './popup' export { default as AccountSwitcher } from './AccountSwitcher.svelte' diff --git a/packages/desktop/components/panes/index.ts b/packages/desktop/components/panes/index.ts deleted file mode 100644 index e04d06635f..0000000000 --- a/packages/desktop/components/panes/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as ProposalInformationPane } from './ProposalInformationPane.svelte' diff --git a/packages/desktop/views/dashboard/governance/views/ProposalDetailsView.svelte b/packages/desktop/views/dashboard/governance/views/ProposalDetailsView.svelte index da1888996b..ac8dea7277 100644 --- a/packages/desktop/views/dashboard/governance/views/ProposalDetailsView.svelte +++ b/packages/desktop/views/dashboard/governance/views/ProposalDetailsView.svelte @@ -6,7 +6,7 @@ TrackedParticipationOverview, } from '@iota/sdk/out/types' import { Alert, Button, Table } from '@bloomwalletio/ui' - import { ProposalDetailsMenu, ProposalInformationPane, ProposalQuestion } from '@components' + import { ProposalDetailsMenu, ProposalQuestion } from '@components' import { getVotingEvent } from '@contexts/governance/actions' import { clearParticipationEventStatusPoll, @@ -35,7 +35,7 @@ import { visibleSelectedAccountTokens } from '@core/token/stores' import { getBestTimeDuration, milestoneToDate } from '@core/utils' import { PopupId, openPopup } from '@desktop/auxiliary/popup' - import { ProposalStatusPill } from '@views/governance' + import { ProposalInformationPane, ProposalStatusPill } from '@views/governance' import { MarkdownBlock, Pane, Text, TextType } from '@ui' import { onDestroy, onMount } from 'svelte' @@ -242,7 +242,7 @@ ]} /> - + import { EventStatus } from '@iota/sdk/out/types' - import { Table } from '@bloomwalletio/ui' - import { Pane, Text } from '@ui' + import { Table, Text } from '@bloomwalletio/ui' + import { Pane } from '@ui' import { formatDate, localize } from '@core/i18n' import { DATE_FORMAT, milestoneToDate, truncateString } from '@core/utils' import { networkStatus } from '@core/network/stores' import { selectedProposal } from '@contexts/governance/stores' - export let classes: string = '' - interface IProposalDateData { propertyKey: 'votingOpens' | 'countingStarts' | 'countingEnds' | 'countingEnded' milestone: number @@ -44,10 +42,8 @@ } - - - {localize('views.governance.details.proposalInformation.title')} - + + {localize('views.governance.details.proposalInformation.title')}