-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tk/SOBupdates
- Loading branch information
Showing
543 changed files
with
14,333 additions
and
13,716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 13 additions & 3 deletions
16
src/applications/_mock-form-ae-design-patterns/app-entry.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
import 'platform/polyfills'; | ||
import './sass/_mock-form-ae-design-patterns.scss'; | ||
|
||
import startApp from 'platform/startup'; | ||
import routes from './routes'; | ||
import reducer from './reducers'; | ||
import manifest from './manifest.json'; | ||
|
||
import coeReducer from './patterns/pattern2/TaskGray/shared/reducers'; | ||
import { asyncStartApp } from './utils/asyncStartApp'; | ||
|
||
const combinedReducers = { | ||
...reducer, | ||
certificateOfEligibility: coeReducer.certificateOfEligibility, | ||
}; | ||
|
||
startApp({ | ||
const createRoutes = initialRoutes => { | ||
// here we can do some async stuff | ||
// maybe we change the routes based on the state or other api call responses? | ||
// this could be where we add or remove routes for the contact info that is missing for a user | ||
// replace () with (store) to access the store and use it to determine the routes | ||
return () => { | ||
return initialRoutes; | ||
}; | ||
}; | ||
|
||
asyncStartApp({ | ||
entryName: manifest.entryName, | ||
url: manifest.rootUrl, | ||
reducer: combinedReducers, | ||
routes, | ||
createAsyncRoutesWithStore: createRoutes(routes), | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.