Skip to content

Instantly share code, notes, and snippets.

@ehahn9
ehahn9 / gist:5d2b1980c029c7510a04def8c6c83476
Created January 10, 2018 20:17
react-big-calendar timeslots test
import React, { Component } from 'react';
import BigCalendar from 'react-big-calendar';
class BigCalendarTimeslotsTest extends Component {
constructor(props) {
super(props);
this.state = { timeslots: 2 };
}
render() {
import React, { Component } from 'react';
import BigCalendar from 'react-big-calendar';
class BigCalendarTimeslotsTest extends Component {
constructor(props) {
super(props);
this.state = { timeslots: 2 };
}
render() {
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { accessor } from 'react-big-calendar/lib/utils/accessors';
import { accessor as accessorPropType } from 'react-big-calendar/lib/utils/propTypes';
import { noop } from 'lodash';
import { zonedToLocal, localToZoned } from '/client/utils/timezones';
import { hasTime, shiftDate, shiftHour } from '/client/utils/date';
/**
* withTimeZone - HOC to add time zone support to react-big-calendar
@ehahn9
ehahn9 / gist:ea6e77978263b9143777b169399cb75d
Created December 5, 2020 18:22
1Password Hang Stack Trace
This file has been truncated, but you can view the full file.
Date/Time: 2020-12-05 10:14:19.915 -0800
End time: 2020-12-05 10:16:44.749 -0800
OS Version: macOS 11.0.1 (Build 20B29)
Architecture: x86_64h
Report Version: 32
Data Source: Stackshots
Shared Cache: 9F6FFF1F-4096-355B-B037-8DCE73A7AA42 slid base address 0x7fff2002b000, slide 0x2b000
Command: 1Password 7