2020-05-17 17:11:35 +09:00
|
|
|
import * as React from 'react';
|
|
|
|
import * as ReactDOM from 'react-dom';
|
2020-08-17 16:00:04 +09:00
|
|
|
import { CheckinForm } from './components/CheckinForm';
|
2019-06-11 22:16:40 +09:00
|
|
|
|
2020-08-17 16:00:04 +09:00
|
|
|
const initialState = JSON.parse(document.getElementById('initialState')?.textContent as string);
|
2020-08-17 16:08:35 +09:00
|
|
|
ReactDOM.render(<CheckinForm initialState={initialState} />, document.getElementById('checkinForm'));
|