Skip to content

Commit

Permalink
prop form list rename
Browse files Browse the repository at this point in the history
  • Loading branch information
skuhlmann committed Sep 14, 2023
1 parent d11f5c8 commit 4263af5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/legos/legoConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const AppFieldLookup = {
export type CustomFieldLego = FieldLegoBase<typeof AppFieldLookup>;
export type CustomFormLego = FormLegoBase<typeof AppFieldLookup>;

export const BASIC_PROPOSAL_FORMS = {
export const BASIC_PROPOSAL_FORMS_APP = {
TEST_FORM: APP_FORM.TEST_FORM,
SIGNAL: PROPOSAL_FORMS.SIGNAL,
ISSUE: PROPOSAL_FORMS.ISSUE,
Expand All @@ -22,7 +22,7 @@ export const BASIC_PROPOSAL_FORMS = {
TRANSFER_NETWORK_TOKEN: PROPOSAL_FORMS.TRANSFER_NETWORK_TOKEN,
};

export const ADVANCED_PROPOSAL_FORMS = {
export const ADVANCED_PROPOSAL_FORMS_APP = {
WALLETCONNECT: PROPOSAL_FORMS.WALLETCONNECT,
UPDATE_GOV_SETTINGS: PROPOSAL_FORMS.UPDATE_GOV_SETTINGS,
TOKEN_SETTINGS: PROPOSAL_FORMS.TOKEN_SETTINGS,
Expand Down
8 changes: 4 additions & 4 deletions src/pages/Proposals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import {
import { NewProposalList } from "../components/NewProposalList";
import { prepareProposals } from "../utils/formHelpers";
import {
BASIC_PROPOSAL_FORMS,
ADVANCED_PROPOSAL_FORMS,
BASIC_PROPOSAL_FORMS_APP,
ADVANCED_PROPOSAL_FORMS_APP,
} from "../legos/legoConfig";

export const Proposals = () => {
const basicProposals = prepareProposals(BASIC_PROPOSAL_FORMS);
const advancedProposals = prepareProposals(ADVANCED_PROPOSAL_FORMS);
const basicProposals = prepareProposals(BASIC_PROPOSAL_FORMS_APP);
const advancedProposals = prepareProposals(ADVANCED_PROPOSAL_FORMS_APP);

return (
<SingleColumnLayout>
Expand Down

0 comments on commit 4263af5

Please sign in to comment.