Fix UI bugs: history page fallback, admin page typescript type, cbt page math rendering
This commit is contained in:
@@ -153,7 +153,7 @@ export default function AdminTestsPage() {
|
||||
<label className="text-sm font-medium">Scheduled Start (Optional)</label>
|
||||
<DatePicker
|
||||
selected={scheduledDate}
|
||||
onChange={(date) => setScheduledDate(date)}
|
||||
onChange={(date: Date | null) => setScheduledDate(date)}
|
||||
showTimeSelect
|
||||
timeFormat="HH:mm"
|
||||
timeIntervals={15}
|
||||
@@ -167,7 +167,7 @@ export default function AdminTestsPage() {
|
||||
<label className="text-sm font-medium">Scheduled End (Optional)</label>
|
||||
<DatePicker
|
||||
selected={endDate}
|
||||
onChange={(date) => setEndDate(date)}
|
||||
onChange={(date: Date | null) => setEndDate(date)}
|
||||
showTimeSelect
|
||||
timeFormat="HH:mm"
|
||||
timeIntervals={15}
|
||||
|
||||
Reference in New Issue
Block a user