Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #21 from egovernments/dev
Browse files Browse the repository at this point in the history
pgr init change
  • Loading branch information
abhinav-egov authored Mar 8, 2021
2 parents e26bd20 + 761b132 commit b2eb2a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/src/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import { PGRModule, PGRLinks, PGRReducers } from "@egovernments/digit-ui-module-pgr";
import { initPGRComponents, PGRReducers } from "@egovernments/digit-ui-module-pgr";
import { initFSMComponents } from "@egovernments/digit-ui-module-fsm";
import { PTModule, PTLinks } from "@egovernments/digit-ui-module-pt";
import { PaymentModule, PaymentLinks } from "@egovernments/digit-ui-module-common";
Expand All @@ -11,14 +11,13 @@ initLibraries();

const enabledModules = ["PGR", "FSM", "Payment", "PT"];
window.Digit.ComponentRegistryService.setupRegistry({
PGRLinks,
PGRModule,
PTModule,
PTLinks,
PaymentModule,
PaymentLinks,
});

initPGRComponents();
initFSMComponents();

const moduleReducers = (initData) => ({
Expand Down

0 comments on commit b2eb2a6

Please sign in to comment.