Merge pull request #298 from emrysal/hotfix/fix-default-timeFormat

Updated timeFormat to something more sensible
This commit is contained in:
Bailey Pumfleet 2021-06-22 15:26:15 +01:00 committed by GitHub
commit 68912ac290
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ export default function Type(props) {
const [selectedDate, setSelectedDate] = useState<Dayjs>();
const [selectedMonth, setSelectedMonth] = useState(dayjs().month());
const [isTimeOptionsOpen, setIsTimeOptionsOpen] = useState(false);
const [timeFormat, setTimeFormat] = useState('hh:mm');
const [timeFormat, setTimeFormat] = useState('h:mma');
const telemetry = useTelemetry();
useEffect(() => {