File tree Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Expand file tree Collapse file tree 2 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 1- // @flow
2-
3- export const appConfig = {
1+ export const appConfig = Object . freeze ( {
42 DEV_MODE : true , // block fetch
53
64 // sw path
75 sw : {
86 path : 'public/assets/sw.js' ,
97 } ,
10- } ;
8+ } ) ;
119
1210export default appConfig ;
Original file line number Diff line number Diff line change 1- // @flow
2-
3- // #flow types
1+ // #region types
42export type Link = {
5- label : string ,
6- link : string ,
7- view ?: string ,
8- isRouteBtn ?: boolean ,
3+ label : string ;
4+ link : string ;
5+ view ?: string ;
6+ isRouteBtn ?: boolean ;
97} ;
108
119export type Navigation = {
12- brand : string ,
13- leftLinks : Array < Link > ,
14- rightLinks : Array < Link > ,
10+ brand : string ;
11+ leftLinks : Array < Link > ;
12+ rightLinks : Array < Link > ;
1513} ;
1614// #endregion
1715
18- const navigation = {
16+ const navigation = Object . freeze ( {
1917 brand : 'React Bootstrap Starter' ,
2018 leftLinks : [ ] ,
2119 rightLinks : [
@@ -36,6 +34,6 @@ const navigation = {
3634 isRouteBtn : true ,
3735 } ,
3836 ] ,
39- } ;
37+ } ) ;
4038
4139export default navigation ;
You can’t perform that action at this time.
0 commit comments