Skip to content

Commit

Permalink
changed import types and tested to confirm proposal call reached mixp…
Browse files Browse the repository at this point in the history
…anel dashboard
  • Loading branch information
Israellund committed Feb 8, 2024
1 parent 381cc6b commit b59784f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { useBrowserAnalyticsTrack } from 'client/scripts/hooks/useBrowserAnalyticsTrack';
import 'components/proposals/voting_actions.scss';
import { notifyError } from 'controllers/app/notifications';
import type CosmosAccount from 'controllers/chain/cosmos/account';
Expand All @@ -24,9 +23,10 @@ import {
NearSputnikVoteString,
} from 'controllers/chain/near/sputnik/types';
import React, { useEffect, useState } from 'react';
import { MixpanelGovernanceEvents } from '../../../../../shared/analytics/types';
import type { AnyProposal } from '../../../models/types';
import { VotingType } from '../../../models/types';
import { MixpanelGovernanceEvents } from '/analytics/types';
import { useBrowserAnalyticsTrack } from '/hooks/useBrowserAnalyticsTrack';

import app from 'state';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import React from 'react';

import type { SnapshotProposal, SnapshotSpace } from 'helpers/snapshot_utils';
import { useBrowserAnalyticsTrack } from 'hooks/useBrowserAnalyticsTrack';
import { formatNumberShort } from '../../../../shared/adapters/currency';
import { MixpanelSnapshotEvents } from '../../../../shared/analytics/types';
import '../../../styles/modals/confirm_snapshot_vote_modal.scss';
import { notifyError } from '../../controllers/app/notifications';
import { castVote } from '../../helpers/snapshot_utils';
Expand All @@ -15,6 +13,8 @@ import {
CWModalHeader,
} from '../components/component_kit/new_designs/CWModal';
import { CWButton } from '../components/component_kit/new_designs/cw_button';
import { formatNumberShort } from '/adapters/currency';
import { MixpanelSnapshotEvents } from '/analytics/types';

type ConfirmSnapshotVoteModalProps = {
id: string;
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@hicommonwealth/*": ["libs/*/src"]
}
},
"include": [],
"include": ["**/src"],
"exclude": ["node_modules", "**/build"],
"ts-node": {
"require": ["tsconfig-paths/register"]
Expand Down

0 comments on commit b59784f

Please sign in to comment.