File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const BGCOLORS = {
1515
1616type Props = { status : string }
1717
18- export class Badge extends React . PureComponent < Props > {
18+ export class BadgeDetail extends React . PureComponent < Props > {
1919 render ( ) {
2020 const { status} = this . props
2121 const bgColor = BGCOLORS [ status ] || c . goldenrod
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import moment from 'moment-timezone'
88import * as c from '@frogpond/colors'
99import { getShortBuildingStatus } from '../lib'
1010
11- import { Badge } from './ badge'
11+ import { BadgeDetail } from '../../../components/ badge-detail '
1212import { Header } from './header'
1313import { ScheduleTable } from './schedule-table'
1414import { ListFooter } from '@frogpond/lists'
@@ -63,7 +63,7 @@ export class BuildingDetail extends React.Component<Props> {
6363 ) : null }
6464
6565 < Header building = { info } />
66- < Badge status = { openStatus } />
66+ < BadgeDetail status = { openStatus } />
6767 < ScheduleTable
6868 now = { now }
6969 onProblemReport = { onProblemReport }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import * as React from 'react'
44import { StyleSheet , Text , Platform } from 'react-native'
55import type { CourseType } from '../../../../lib/course-search'
66import glamorous from 'glamorous-native'
7- import { Badge } from '../../../building-hours/detail /badge'
7+ import { BadgeDetail } from '../../../../components /badge-detail '
88import moment from 'moment-timezone'
99import { formatDay } from '../lib/format-day'
1010import {
@@ -204,7 +204,7 @@ export class CourseDetailView extends React.PureComponent<Props> {
204204 < Container >
205205 < Header > { course . title || course . name } </ Header >
206206 < SubHeader > { deptNum ( course ) } </ SubHeader >
207- < Badge status = { status } />
207+ < BadgeDetail status = { status } />
208208 < TableView >
209209 < Information course = { course } />
210210 < Schedule course = { course } />
You can’t perform that action at this time.
0 commit comments