don't use i18n namespaces

there's no need to keep reloading different parts of the object we already cached
This commit is contained in:
austinried
2022-04-16 18:06:06 +09:00
parent a0b96223d9
commit cd15d159b6
14 changed files with 120 additions and 79 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ import { createNativeStackNavigator } from 'react-native-screens/native-stack'
const NowPlayingStack = createNativeStackNavigator()
const NowPlayingNavigator = withSuspense(() => {
const { t } = useTranslation('resources.queue')
const { t } = useTranslation()
return (
<NowPlayingStack.Navigator>
@@ -21,7 +21,7 @@ const NowPlayingNavigator = withSuspense(() => {
name="queue"
component={NowPlayingQueue}
options={{
title: t('name'),
title: t('resources.queue.name'),
headerStyle: {
backgroundColor: colors.gradient.high,
},