@@ -10,15 +10,15 @@ import * as c from '@frogpond/colors'
1010import { LoadingView , NoticeView } from '@frogpond/notice'
1111import { toLaxTitleCase } from '@frogpond/titlecase'
1212import { Touchable } from '@frogpond/touchable'
13- import { AppConfig , FeatureFlagType } from '@frogpond/app-config'
13+ import { AppConfig , FeatureFlag } from '@frogpond/app-config'
1414
1515import { groupBy , orderBy } from 'lodash'
1616import { commonStyles } from '../../../../modules/navigation-buttons/styles'
1717import * as storage from '../../../lib/storage'
1818
1919export const FeatureFlagsView = ( ) : JSX . Element => {
2020 let [ loading , setLoading ] = React . useState ( true )
21- let [ sections , setSections ] = React . useState < FeatureFlagType [ ] > ( [ ] )
21+ let [ sections , setSections ] = React . useState < FeatureFlag [ ] > ( [ ] )
2222
2323 React . useEffect ( ( ) => {
2424 async function fetchData ( ) {
@@ -33,11 +33,11 @@ export const FeatureFlagsView = (): JSX.Element => {
3333 return < ListEmpty mode = "bug" />
3434 }
3535
36- let findGroup = ( configKey : FeatureFlagType [ 'configKey' ] ) => {
36+ let findGroup = ( configKey : FeatureFlag [ 'configKey' ] ) => {
3737 return configKey . split ( '_' ) ?. [ 0 ] ?? 'Unknown'
3838 }
3939
40- let sorters : Array < ( flag : FeatureFlagType ) => string > = [
40+ let sorters : Array < ( flag : FeatureFlag ) => string > = [
4141 ( flag ) => findGroup ( flag . configKey ) ,
4242 ( flag ) => flag . title ,
4343 ]
0 commit comments