chore(lint): fix errors
This commit is contained in:
parent
d4060dbe68
commit
4694f4839b
|
@ -22,7 +22,6 @@ import { studentName } from '../utils/peopleHelpers'
|
|||
import { translate } from '../utils/translation'
|
||||
import { RootStackParamList } from './navigation.component'
|
||||
import { StudentAvatar } from './studentAvatar.component'
|
||||
import { DaySummary } from './daySummary.component'
|
||||
|
||||
interface ChildListItemProps {
|
||||
child: Child
|
||||
|
@ -95,7 +94,6 @@ export const ChildListItem = ({ child, color }: ChildListItemProps) => {
|
|||
|
||||
const className = getClassName()
|
||||
const styles = useStyleSheet(themeStyles)
|
||||
const date = moment()
|
||||
|
||||
return (
|
||||
<TouchableOpacity
|
||||
|
@ -111,7 +109,6 @@ export const ChildListItem = ({ child, color }: ChildListItemProps) => {
|
|||
</View>
|
||||
</View>
|
||||
</View>
|
||||
{/*<DaySummary child={child} date={date} />*/}
|
||||
{scheduleAndCalendarThisWeek.slice(0, 3).map((calendarItem, i) => (
|
||||
<Text category="p1" key={i}>
|
||||
{`${calendarItem.title} (${displayDate(calendarItem.startDate)})`}
|
||||
|
|
|
@ -80,7 +80,9 @@ export const Children = () => {
|
|||
useEffect(() => {
|
||||
navigation.setOptions({
|
||||
headerLeft: () => {
|
||||
return <TopNavigationAction icon={CloseOutlineIcon} onPress={settings} />
|
||||
return (
|
||||
<TopNavigationAction icon={CloseOutlineIcon} onPress={settings} />
|
||||
)
|
||||
},
|
||||
})
|
||||
}, [navigation, settings])
|
||||
|
|
|
@ -6,5 +6,4 @@ import { AppRegistry } from 'react-native'
|
|||
import App from './App'
|
||||
import { name as appName } from './app.json'
|
||||
|
||||
|
||||
AppRegistry.registerComponent(appName, () => App)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module.exports = {
|
||||
assets: ['./assets/fonts']
|
||||
}
|
||||
assets: ['./assets/fonts'],
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ export const fontWeight: Record<FontWeight, TextStyle> = {
|
|||
},
|
||||
bold: {
|
||||
...systemWeights.bold,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export const header: TextStyle = {
|
||||
|
|
Loading…
Reference in New Issue