diff --git a/App.tsx b/App.tsx index 0ac6b40..e48d7af 100644 --- a/App.tsx +++ b/App.tsx @@ -54,7 +54,6 @@ const App = () => { const init = async () => { if (!AppDataSource.isInitialized) await AppDataSource.initialize() const settings = await settingsRepo.findOne({where: {}}) - console.log(`${App.name}.useEffect:`, {gotSettings: settings}) setTheme(settings.theme) if (settings.lightColor) setLightColor(settings.lightColor) if (settings.darkColor) setDarkColor(settings.darkColor) diff --git a/DrawerHeader.tsx b/DrawerHeader.tsx index 1ddbfb7..9e88dd8 100644 --- a/DrawerHeader.tsx +++ b/DrawerHeader.tsx @@ -8,7 +8,7 @@ export default function DrawerHeader({ name, children, }: { - name: keyof DrawerParamList + name: string children?: JSX.Element | JSX.Element[] }) { const navigation = useNavigation>() diff --git a/PlanList.tsx b/PlanList.tsx index f7e9192..90b5546 100644 --- a/PlanList.tsx +++ b/PlanList.tsx @@ -84,7 +84,7 @@ export default function PlanList() { return ( <> - + 0 ? `${ids.length} selected` : 'Plans'}> - + 0 ? `${ids.length} selected` : 'Home'}>