From cbf7029c8cb3f6bbbd41d0867c73cc468172d45a Mon Sep 17 00:00:00 2001 From: Lee Date: Thu, 2 Nov 2023 13:51:45 +0100 Subject: [PATCH] refactor(removed unused var/import) Co-authored-by: Sebastian Palmqvist --- apps/skolplattformen-app/components/child.component.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/skolplattformen-app/components/child.component.tsx b/apps/skolplattformen-app/components/child.component.tsx index 419e3639..97126b26 100644 --- a/apps/skolplattformen-app/components/child.component.tsx +++ b/apps/skolplattformen-app/components/child.component.tsx @@ -6,10 +6,8 @@ import { useRoute, } from '@react-navigation/native' import { NativeStackNavigationOptions } from '@react-navigation/native-stack' -import { StackNavigationProp } from '@react-navigation/stack' import { Icon } from '@ui-kitten/components' import React, { useEffect } from 'react' -import { StyleProp, TextProps } from 'react-native' import { defaultStackStyling } from '../design/navigationThemes' import { useFeature } from '../hooks/useFeature' import { studentName } from '../utils/peopleHelpers' @@ -24,7 +22,6 @@ import { NewsList } from './newsList.component' import { NotificationsList } from './notificationsList.component' import { TabBarLabel } from './tabBarLabel.component' -type ChildNavigationProp = StackNavigationProp type ChildRouteProps = RouteProp export type ChildTabParamList = { @@ -35,11 +32,6 @@ export type ChildTabParamList = { Classmates: undefined } -// interface TabTitleProps { -// children: string; -// style?: StyleProp; -// } - const { Navigator, Screen } = createBottomTabNavigator() const NewsScreen = () =>