pluralize months
This commit is contained in:
@@ -19,6 +19,7 @@ import {useFocusEffect, useNavigation} from '@react-navigation/native'
|
|||||||
import {NativeStackScreenProps} from '@react-navigation/native-stack'
|
import {NativeStackScreenProps} from '@react-navigation/native-stack'
|
||||||
import {useQueryClient} from '@tanstack/react-query'
|
import {useQueryClient} from '@tanstack/react-query'
|
||||||
|
|
||||||
|
import {logger} from '#/logger'
|
||||||
import {HITSLOP_10} from 'lib/constants'
|
import {HITSLOP_10} from 'lib/constants'
|
||||||
import {createStarterPackList} from 'lib/generate-starterpack'
|
import {createStarterPackList} from 'lib/generate-starterpack'
|
||||||
import {CommonNavigatorParams, NavigationProp} from 'lib/routes/types'
|
import {CommonNavigatorParams, NavigationProp} from 'lib/routes/types'
|
||||||
@@ -351,7 +352,8 @@ function WizardInner({
|
|||||||
dispatch({type: 'SetProcessing', processing: false})
|
dispatch({type: 'SetProcessing', processing: false})
|
||||||
}, 1000)
|
}, 1000)
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e: unknown) {
|
||||||
|
logger.error('Failed to create starter pack', {error: e})
|
||||||
Toast.show(_(msg`Failed to create starter pack`))
|
Toast.show(_(msg`Failed to create starter pack`))
|
||||||
dispatch({type: 'SetProcessing', processing: false})
|
dispatch({type: 'SetProcessing', processing: false})
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user