We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const TimeSlots: React.FC = () => { const calendarRef = useRef<SchedulerRef>(null); const { data, isSuccess } = useGetEvents(); const convertedAppointments: any = isSuccess ? data.appointments.map((appointment: any) => ({ ...appointment, start: new Date(appointment.start), end: new Date(appointment.end), })) : []; const fetchRemote = async () => { const data = await convertedAppointments; return data; }; return ( <Fragment> <Scheduler ref={calendarRef} getRemoteEvents={fetchRemote} deletable={false} /> <div>{stringDat}</div> </Fragment> ); }; export default TimeSlots;
The text was updated successfully, but these errors were encountered:
I was able so solve it. NO issue with library.
Sorry, something went wrong.
No branches or pull requests
I am trying to fetch some remote data and it is not displaying, but when I use the sample response in a static file I am able to see the data.
The text was updated successfully, but these errors were encountered: