From fee8f917b1b25490bbc27f2e9e83954e9ba76222 Mon Sep 17 00:00:00 2001 From: Hailey Date: Mon, 17 Jun 2024 19:31:06 -0700 Subject: [PATCH] pluralize months --- src/screens/StarterPack/Wizard/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/screens/StarterPack/Wizard/index.tsx b/src/screens/StarterPack/Wizard/index.tsx index 2c22637f7e..c555e37c31 100644 --- a/src/screens/StarterPack/Wizard/index.tsx +++ b/src/screens/StarterPack/Wizard/index.tsx @@ -19,6 +19,7 @@ import {useFocusEffect, useNavigation} from '@react-navigation/native' import {NativeStackScreenProps} from '@react-navigation/native-stack' import {useQueryClient} from '@tanstack/react-query' +import {logger} from '#/logger' import {HITSLOP_10} from 'lib/constants' import {createStarterPackList} from 'lib/generate-starterpack' import {CommonNavigatorParams, NavigationProp} from 'lib/routes/types' @@ -351,7 +352,8 @@ function WizardInner({ dispatch({type: 'SetProcessing', processing: false}) }, 1000) } - } catch (e) { + } catch (e: unknown) { + logger.error('Failed to create starter pack', {error: e}) Toast.show(_(msg`Failed to create starter pack`)) dispatch({type: 'SetProcessing', processing: false}) return